org.ota.cruise
Class ShorexAvailRQ

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

public class ShorexAvailRQ
extends java.lang.Object

The shorex availability request message requests shore excursions for a given sailing and currency. 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_CruiseShorexAvailRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="GuestCounts" minOccurs="0">
         <!-- Reference to inner class GuestCounts -->
       </xs:element>
       <xs:element type="ns:SailingCategoryInfoType" name="SailingInfo" minOccurs="0"/>
       <xs:element type="ns:CruisePackageType" name="ShorexOption" maxOccurs="8"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ResponseGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class ShorexAvailRQ.GuestCounts
          Specifies guest quantity and guest types.
 
Constructor Summary
ShorexAvailRQ()
           
 
Method Summary
 void addShorexOption(CruisePackage item)
          Add a 'ShorexOption' element item.
 void clearShorexOptions()
          Remove all 'ShorexOption' element items.
 ShorexAvailRQ.GuestCounts getGuestCounts()
          Get the 'GuestCounts' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 ResponseGroup getResponseGroup()
          Get the 'ResponseGroup' attributeGroup value.
 SailingCategoryInfo getSailingInfo()
          Get the 'SailingInfo' element value.
 CruisePackage getShorexOption(int index)
          Get 'ShorexOption' element item by position.
 java.util.List<CruisePackage> getShorexOptions()
          Get the list of 'ShorexOption' element items.
 void setGuestCounts(ShorexAvailRQ.GuestCounts guestCounts)
          Set the 'GuestCounts' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setResponseGroup(ResponseGroup responseGroup)
          Set the 'ResponseGroup' attributeGroup value.
 void setSailingInfo(SailingCategoryInfo sailingInfo)
          Set the 'SailingInfo' element value.
 void setShorexOptions(java.util.List<CruisePackage> list)
          Set the list of 'ShorexOption' element items.
 int sizeShorexOptions()
          Get the number of 'ShorexOption' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShorexAvailRQ

public ShorexAvailRQ()
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 -

getGuestCounts

public ShorexAvailRQ.GuestCounts getGuestCounts()
Get the 'GuestCounts' element value.

Returns:
value

setGuestCounts

public void setGuestCounts(ShorexAvailRQ.GuestCounts guestCounts)
Set the 'GuestCounts' element value.

Parameters:
guestCounts -

getSailingInfo

public SailingCategoryInfo getSailingInfo()
Get the 'SailingInfo' element value. Contains information for the selected sailing.

Returns:
value

setSailingInfo

public void setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. Contains information for the selected sailing.

Parameters:
sailingInfo -

getShorexOptions

public java.util.List<CruisePackage> getShorexOptions()
Get the list of 'ShorexOption' element items. Specifies the type of package options to query for, that the cruise might offer with the sailing.

Returns:
list

setShorexOptions

public void setShorexOptions(java.util.List<CruisePackage> list)
Set the list of 'ShorexOption' element items. Specifies the type of package options to query for, that the cruise might offer with the sailing.

Parameters:
list -

sizeShorexOptions

public int sizeShorexOptions()
Get the number of 'ShorexOption' element items.

Returns:
count

addShorexOption

public void addShorexOption(CruisePackage item)
Add a 'ShorexOption' element item.

Parameters:
item -

getShorexOption

public CruisePackage getShorexOption(int index)
Get 'ShorexOption' element item by position.

Parameters:
index -
Returns:
item

clearShorexOptions

public void clearShorexOptions()
Remove all 'ShorexOption' 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 -

getResponseGroup

public ResponseGroup getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. Provides the echo token to be used to retrieve additional records.

Returns:
value

setResponseGroup

public void setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. Provides the echo token to be used to retrieve additional records.

Parameters:
responseGroup -