org.ota.cruise
Class SailingCategoryInfo.SelectedCategory

java.lang.Object
  extended by org.ota.cruise.SailingCategoryInfo.SelectedCategory
Enclosing class:
SailingCategoryInfo

public static class SailingCategoryInfo.SelectedCategory
extends java.lang.Object

Specifies a selected cabin category. 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="SelectedCategory" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CabinAttributes" minOccurs="0">
         <!-- Reference to inner class CabinAttributes -->
       </xs:element>
       <xs:element name="SelectedCabin" minOccurs="0" maxOccurs="3">
         <!-- Reference to inner class SelectedCabin -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CruiseCategoryDetailGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="WaitlistIndicator"/>
     <xs:attributeGroup ref="ns:FareGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class SailingCategoryInfo.SelectedCategory.CabinAttributes
          Collection of category-level cabin attributes.
static class SailingCategoryInfo.SelectedCategory.SelectedCabin
          Specifies the selected cabin information.
 
Constructor Summary
SailingCategoryInfo.SelectedCategory()
           
 
Method Summary
 void addSelectedCabin(SailingCategoryInfo.SelectedCategory.SelectedCabin item)
          Add a 'SelectedCabin' element item.
 void clearSelectedCabins()
          Remove all 'SelectedCabin' element items.
 SailingCategoryInfo.SelectedCategory.CabinAttributes getCabinAttributes()
          Get the 'CabinAttributes' element value.
 CruiseCategoryDetailGroup getCruiseCategoryDetailGroup()
          Get the 'CruiseCategoryDetailGroup' attributeGroup value.
 FareGroup getFareGroup()
          Get the 'FareGroup' attributeGroup value.
 SailingCategoryInfo.SelectedCategory.SelectedCabin getSelectedCabin(int index)
          Get 'SelectedCabin' element item by position.
 java.util.List<SailingCategoryInfo.SelectedCategory.SelectedCabin> getSelectedCabins()
          Get the list of 'SelectedCabin' element items.
 java.lang.Boolean getWaitlistIndicator()
          Get the 'WaitlistIndicator' attribute value.
 void setCabinAttributes(SailingCategoryInfo.SelectedCategory.CabinAttributes cabinAttributes)
          Set the 'CabinAttributes' element value.
 void setCruiseCategoryDetailGroup(CruiseCategoryDetailGroup cruiseCategoryDetailGroup)
          Set the 'CruiseCategoryDetailGroup' attributeGroup value.
 void setFareGroup(FareGroup fareGroup)
          Set the 'FareGroup' attributeGroup value.
 void setSelectedCabins(java.util.List<SailingCategoryInfo.SelectedCategory.SelectedCabin> list)
          Set the list of 'SelectedCabin' element items.
 void setWaitlistIndicator(java.lang.Boolean waitlistIndicator)
          Set the 'WaitlistIndicator' attribute value.
 int sizeSelectedCabins()
          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

SailingCategoryInfo.SelectedCategory

public SailingCategoryInfo.SelectedCategory()
Method Detail

getCabinAttributes

public SailingCategoryInfo.SelectedCategory.CabinAttributes getCabinAttributes()
Get the 'CabinAttributes' element value.

Returns:
value

setCabinAttributes

public void setCabinAttributes(SailingCategoryInfo.SelectedCategory.CabinAttributes cabinAttributes)
Set the 'CabinAttributes' element value.

Parameters:
cabinAttributes -

getSelectedCabins

public java.util.List<SailingCategoryInfo.SelectedCategory.SelectedCabin> getSelectedCabins()
Get the list of 'SelectedCabin' element items.

Returns:
list

setSelectedCabins

public void setSelectedCabins(java.util.List<SailingCategoryInfo.SelectedCategory.SelectedCabin> list)
Set the list of 'SelectedCabin' element items.

Parameters:
list -

sizeSelectedCabins

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

Returns:
count

addSelectedCabin

public void addSelectedCabin(SailingCategoryInfo.SelectedCategory.SelectedCabin item)
Add a 'SelectedCabin' element item.

Parameters:
item -

getSelectedCabin

public SailingCategoryInfo.SelectedCategory.SelectedCabin getSelectedCabin(int index)
Get 'SelectedCabin' element item by position.

Parameters:
index -
Returns:
item

clearSelectedCabins

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


getCruiseCategoryDetailGroup

public CruiseCategoryDetailGroup getCruiseCategoryDetailGroup()
Get the 'CruiseCategoryDetailGroup' attributeGroup value. Specificies cruise category information.

Returns:
value

setCruiseCategoryDetailGroup

public void setCruiseCategoryDetailGroup(CruiseCategoryDetailGroup cruiseCategoryDetailGroup)
Set the 'CruiseCategoryDetailGroup' attributeGroup value. Specificies cruise category information.

Parameters:
cruiseCategoryDetailGroup -

getWaitlistIndicator

public java.lang.Boolean getWaitlistIndicator()
Get the 'WaitlistIndicator' attribute value. When true, this indicates the selected category is waitlisted.

Returns:
value

setWaitlistIndicator

public void setWaitlistIndicator(java.lang.Boolean waitlistIndicator)
Set the 'WaitlistIndicator' attribute value. When true, this indicates the selected category is waitlisted.

Parameters:
waitlistIndicator -

getFareGroup

public FareGroup getFareGroup()
Get the 'FareGroup' attributeGroup value. The fare requested for this category.

Returns:
value

setFareGroup

public void setFareGroup(FareGroup fareGroup)
Set the 'FareGroup' attributeGroup value. The fare requested for this category.

Parameters:
fareGroup -