org.ota.cruise
Class SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes

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

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

Collection of cabin attributes. 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="CabinAttributes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="CabinAttribute" maxOccurs="99">
         <!-- Reference to inner class CabinAttribute -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute
          List of attributes associated with this cabin.
 
Constructor Summary
SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes()
           
 
Method Summary
 void addCabinAttribute(SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute item)
          Add a 'CabinAttribute' element item.
 void clearCabinAttributes()
          Remove all 'CabinAttribute' element items.
 SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute getCabinAttribute(int index)
          Get 'CabinAttribute' element item by position.
 java.util.List<SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute> getCabinAttributes()
          Get the list of 'CabinAttribute' element items.
 void setCabinAttributes(java.util.List<SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute> list)
          Set the list of 'CabinAttribute' element items.
 int sizeCabinAttributes()
          Get the number of 'CabinAttribute' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes

public SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes()
Method Detail

getCabinAttributes

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

Returns:
list

setCabinAttributes

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

Parameters:
list -

sizeCabinAttributes

public int sizeCabinAttributes()
Get the number of 'CabinAttribute' element items.

Returns:
count

addCabinAttribute

public void addCabinAttribute(SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute item)
Add a 'CabinAttribute' element item.

Parameters:
item -

getCabinAttribute

public SailingCategoryInfo.SelectedCategory.SelectedCabin.CabinAttributes.CabinAttribute getCabinAttribute(int index)
Get 'CabinAttribute' element item by position.

Parameters:
index -
Returns:
item

clearCabinAttributes

public void clearCabinAttributes()
Remove all 'CabinAttribute' element items.