org.ota.cruise
Class CabinUnholdRQ

java.lang.Object
  extended by org.ota.cruise.CabinUnholdRQ

public class CabinUnholdRQ
extends java.lang.Object

The Cabin Unhold Request message requests that the specified cabin, currently held for a given sailing, be released back into inventory by the sailing vendor. 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="OTA_CruiseCabinUnholdRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="SelectedSailing" maxOccurs="3">
         <!-- Reference to inner class SelectedSailing -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class CabinUnholdRQ.SelectedSailing
          Identifies the voyage(s) where the cabin is to be released Schema fragment(s) for this class:
 
Constructor Summary
CabinUnholdRQ()
           
 
Method Summary
 void addSelectedSailing(CabinUnholdRQ.SelectedSailing item)
          Add a 'SelectedSailing' element item.
 void clearSelectedSailings()
          Remove all 'SelectedSailing' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 CabinUnholdRQ.SelectedSailing getSelectedSailing(int index)
          Get 'SelectedSailing' element item by position.
 java.util.List<CabinUnholdRQ.SelectedSailing> getSelectedSailings()
          Get the list of 'SelectedSailing' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setSelectedSailings(java.util.List<CabinUnholdRQ.SelectedSailing> list)
          Set the list of 'SelectedSailing' element items.
 int sizeSelectedSailings()
          Get the number of 'SelectedSailing' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CabinUnholdRQ

public CabinUnholdRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getSelectedSailings

public java.util.List<CabinUnholdRQ.SelectedSailing> getSelectedSailings()
Get the list of 'SelectedSailing' element items.

Returns:
list

setSelectedSailings

public void setSelectedSailings(java.util.List<CabinUnholdRQ.SelectedSailing> list)
Set the list of 'SelectedSailing' element items.

Parameters:
list -

sizeSelectedSailings

public int sizeSelectedSailings()
Get the number of 'SelectedSailing' element items.

Returns:
count

addSelectedSailing

public void addSelectedSailing(CabinUnholdRQ.SelectedSailing item)
Add a 'SelectedSailing' element item.

Parameters:
item -

getSelectedSailing

public CabinUnholdRQ.SelectedSailing getSelectedSailing(int index)
Get 'SelectedSailing' element item by position.

Parameters:
index -
Returns:
item

clearSelectedSailings

public void clearSelectedSailings()
Remove all 'SelectedSailing' element items.


getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -