org.ota.cruise
Class CabinHoldRQ.SelectedSailing

java.lang.Object
  extended by org.ota.cruise.CabinHoldRQ.SelectedSailing
Enclosing class:
CabinHoldRQ

public static class CabinHoldRQ.SelectedSailing
extends java.lang.Object

Contains information related to the selected sailing. Typically the selected sailing is one of the sailings returned in the previous sailing availability response. 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="SelectedSailing" maxOccurs="3">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="SelectedFare" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:FareGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="SelectedCategory">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="SelectedCabin" maxOccurs="4">
               <xs:complexType>
                 <xs:attributeGroup ref="ns:CruiseCabinGroup"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
           <xs:attributeGroup ref="ns:CruiseCategoryDetailGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="InclusivePackageOption" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CruisePackageGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:SelectedSailingGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CabinHoldRQ.SelectedSailing()
           
 
Method Summary
 void addSelectedCategorySelectedCabin(CruiseCabinGroup item)
          Add a 'SelectedCabin' element item.
 void clearSelectedCategorySelectedCabins()
          Remove all 'SelectedCabin' element items.
 CruisePackageGroup getInclusivePackageOption()
          Get the 'CruisePackageGroup' attributeGroup value.
 CruiseCategoryDetailGroup getSelectedCategoryCruiseCategoryDetailGroup()
          Get the 'CruiseCategoryDetailGroup' attributeGroup value.
 CruiseCabinGroup getSelectedCategorySelectedCabin(int index)
          Get 'SelectedCabin' element item by position.
 java.util.List<CruiseCabinGroup> getSelectedCategorySelectedCabins()
          Get the list of 'SelectedCabin' element items.
 FareGroup getSelectedFare()
          Get the 'FareGroup' attributeGroup value.
 SelectedSailingGroup getSelectedSailingGroup()
          Get the 'SelectedSailingGroup' attributeGroup value.
 void setInclusivePackageOption(CruisePackageGroup inclusivePackageOption)
          Set the 'CruisePackageGroup' attributeGroup value.
 void setSelectedCategoryCruiseCategoryDetailGroup(CruiseCategoryDetailGroup selectedCategoryCruiseCategoryDetailGroup)
          Set the 'CruiseCategoryDetailGroup' attributeGroup value.
 void setSelectedCategorySelectedCabins(java.util.List<CruiseCabinGroup> list)
          Set the list of 'SelectedCabin' element items.
 void setSelectedFare(FareGroup selectedFare)
          Set the 'FareGroup' attributeGroup value.
 void setSelectedSailingGroup(SelectedSailingGroup selectedSailingGroup)
          Set the 'SelectedSailingGroup' attributeGroup value.
 int sizeSelectedCategorySelectedCabins()
          Get the number of 'SelectedCabin' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CabinHoldRQ.SelectedSailing

public CabinHoldRQ.SelectedSailing()
Method Detail

getSelectedFare

public FareGroup getSelectedFare()
Get the 'FareGroup' attributeGroup value. Specifies the fare code and the group code if any. Fare codes are specific to cruise lines.

Returns:
value

setSelectedFare

public void setSelectedFare(FareGroup selectedFare)
Set the 'FareGroup' attributeGroup value. Specifies the fare code and the group code if any. Fare codes are specific to cruise lines.

Parameters:
selectedFare -

getSelectedCategorySelectedCabins

public java.util.List<CruiseCabinGroup> getSelectedCategorySelectedCabins()
Get the list of 'SelectedCabin' element items. Specifies the selected Cabins

Returns:
list

setSelectedCategorySelectedCabins

public void setSelectedCategorySelectedCabins(java.util.List<CruiseCabinGroup> list)
Set the list of 'SelectedCabin' element items. Specifies the selected Cabins

Parameters:
list -

sizeSelectedCategorySelectedCabins

public int sizeSelectedCategorySelectedCabins()
Get the number of 'SelectedCabin' element items.

Returns:
count

addSelectedCategorySelectedCabin

public void addSelectedCategorySelectedCabin(CruiseCabinGroup item)
Add a 'SelectedCabin' element item.

Parameters:
item -

getSelectedCategorySelectedCabin

public CruiseCabinGroup getSelectedCategorySelectedCabin(int index)
Get 'SelectedCabin' element item by position.

Parameters:
index -
Returns:
item

clearSelectedCategorySelectedCabins

public void clearSelectedCategorySelectedCabins()
Remove all 'SelectedCabin' element items.


getSelectedCategoryCruiseCategoryDetailGroup

public CruiseCategoryDetailGroup getSelectedCategoryCruiseCategoryDetailGroup()
Get the 'CruiseCategoryDetailGroup' attributeGroup value.

Returns:
value

setSelectedCategoryCruiseCategoryDetailGroup

public void setSelectedCategoryCruiseCategoryDetailGroup(CruiseCategoryDetailGroup selectedCategoryCruiseCategoryDetailGroup)
Set the 'CruiseCategoryDetailGroup' attributeGroup value.

Parameters:
selectedCategoryCruiseCategoryDetailGroup -

getInclusivePackageOption

public CruisePackageGroup getInclusivePackageOption()
Get the 'CruisePackageGroup' attributeGroup value. Allows to query for package options that the cruise might offer with the sailing. Usually the request will query for packages that are included in the cruise sailing offering (inclusive packages).

Returns:
value

setInclusivePackageOption

public void setInclusivePackageOption(CruisePackageGroup inclusivePackageOption)
Set the 'CruisePackageGroup' attributeGroup value. Allows to query for package options that the cruise might offer with the sailing. Usually the request will query for packages that are included in the cruise sailing offering (inclusive packages).

Parameters:
inclusivePackageOption -

getSelectedSailingGroup

public SelectedSailingGroup getSelectedSailingGroup()
Get the 'SelectedSailingGroup' attributeGroup value.

Returns:
value

setSelectedSailingGroup

public void setSelectedSailingGroup(SelectedSailingGroup selectedSailingGroup)
Set the 'SelectedSailingGroup' attributeGroup value.

Parameters:
selectedSailingGroup -