org.ota.air
Class CabinPrefGroup

java.lang.Object
  extended by org.ota.air.CabinPrefGroup

public class CabinPrefGroup
extends java.lang.Object

Indicates preferences for choice of airline cabin. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CabinPrefGroup">
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   <xs:attribute type="ns:CabinType" name="Cabin"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
CabinPrefGroup()
           
 
Method Summary
 Cabin getCabin()
          Get the 'Cabin' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setCabin(Cabin cabin)
          Set the 'Cabin' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CabinPrefGroup

public CabinPrefGroup()
Method Detail

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -

getCabin

public Cabin getCabin()
Get the 'Cabin' attribute value. Indicates preferred airline cabin.

Returns:
value

setCabin

public void setCabin(Cabin cabin)
Set the 'Cabin' attribute value. Indicates preferred airline cabin.

Parameters:
cabin -