org.ota.air
Class AirSearchPrefs.CabinPref

java.lang.Object
  extended by org.ota.air.AirSearchPrefs.CabinPref
Enclosing class:
AirSearchPrefs

public static class AirSearchPrefs.CabinPref
extends java.lang.Object

Defines preferred cabin(s) to be used in a search. 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="CabinPref" minOccurs="0" maxOccurs="3">
   <xs:complexType>
     <xs:attributeGroup ref="ns:CabinPrefGroup"/>
     <xs:attribute type="xs:string" use="optional" name="CabinSubtype"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AirSearchPrefs.CabinPref()
           
 
Method Summary
 CabinPrefGroup getCabinPrefGroup()
          Get the 'CabinPrefGroup' attributeGroup value.
 java.lang.String getCabinSubtype()
          Get the 'CabinSubtype' attribute value.
 void setCabinPrefGroup(CabinPrefGroup cabinPrefGroup)
          Set the 'CabinPrefGroup' attributeGroup value.
 void setCabinSubtype(java.lang.String cabinSubtype)
          Set the 'CabinSubtype' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirSearchPrefs.CabinPref

public AirSearchPrefs.CabinPref()
Method Detail

getCabinPrefGroup

public CabinPrefGroup getCabinPrefGroup()
Get the 'CabinPrefGroup' attributeGroup value.

Returns:
value

setCabinPrefGroup

public void setCabinPrefGroup(CabinPrefGroup cabinPrefGroup)
Set the 'CabinPrefGroup' attributeGroup value.

Parameters:
cabinPrefGroup -

getCabinSubtype

public java.lang.String getCabinSubtype()
Get the 'CabinSubtype' attribute value. Defines a specific cabin sub type within the cabin type (i.e., first, business, economy.) For example, 'Premium'.

Returns:
value

setCabinSubtype

public void setCabinSubtype(java.lang.String cabinSubtype)
Set the 'CabinSubtype' attribute value. Defines a specific cabin sub type within the cabin type (i.e., first, business, economy.) For example, 'Premium'.

Parameters:
cabinSubtype -