org.ota.misc
Class CancelRS.Segment

java.lang.Object
  extended by org.ota.misc.CancelRS.Segment
Enclosing class:
CancelRS

public static class CancelRS.Segment
extends java.lang.Object

Used to specify a segment that has been cancelled. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Segment" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0" maxOccurs="2"/>
       <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:int" use="optional" name="ItinSegNbr"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CancelRS.Segment()
           
 
Method Summary
 void addUniqueID(UniqueID item)
          Add a 'UniqueID' element item.
 void clearUniqueIDs()
          Remove all 'UniqueID' element items.
 java.lang.Integer getItinSegNbr()
          Get the 'ItinSegNbr' attribute value.
 UniqueID getUniqueID(int index)
          Get 'UniqueID' element item by position.
 java.util.List<UniqueID> getUniqueIDs()
          Get the list of 'UniqueID' element items.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 void setItinSegNbr(java.lang.Integer itinSegNbr)
          Set the 'ItinSegNbr' attribute value.
 void setUniqueIDs(java.util.List<UniqueID> list)
          Set the list of 'UniqueID' element items.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 int sizeUniqueIDs()
          Get the number of 'UniqueID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelRS.Segment

public CancelRS.Segment()
Method Detail

getUniqueIDs

public java.util.List<UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items. Contains the supplier's cancellation or confirmation number.

Returns:
list

setUniqueIDs

public void setUniqueIDs(java.util.List<UniqueID> list)
Set the list of 'UniqueID' element items. Contains the supplier's cancellation or confirmation number.

Parameters:
list -

sizeUniqueIDs

public int sizeUniqueIDs()
Get the number of 'UniqueID' element items.

Returns:
count

addUniqueID

public void addUniqueID(UniqueID item)
Add a 'UniqueID' element item.

Parameters:
item -

getUniqueID

public UniqueID getUniqueID(int index)
Get 'UniqueID' element item by position.

Parameters:
index -
Returns:
item

clearUniqueIDs

public void clearUniqueIDs()
Remove all 'UniqueID' element items.


getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. Warning information for the segment that was requested to be cancelled.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. Warning information for the segment that was requested to be cancelled.

Parameters:
warnings -

getItinSegNbr

public java.lang.Integer getItinSegNbr()
Get the 'ItinSegNbr' attribute value. Number identifying the segment item that was cancelled.

Returns:
value

setItinSegNbr

public void setItinSegNbr(java.lang.Integer itinSegNbr)
Set the 'ItinSegNbr' attribute value. Number identifying the segment item that was cancelled.

Parameters:
itinSegNbr -