org.ota.air
Class EquipmentTypePref

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

public class EquipmentTypePref
extends java.lang.Object

Indicates preferences for type of airplane. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="EquipmentTypePref">
   <xs:simpleContent>
     <xs:extension base="ns:EquipmentType">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       <xs:attribute type="xs:boolean" use="optional" name="WideBody"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <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
EquipmentTypePref()
           
 
Method Summary
 Equipment getEquipment()
          Get the extension value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.Boolean getWideBody()
          Get the 'WideBody' attribute value.
 void setEquipment(Equipment equipment)
          Set the extension value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setWideBody(java.lang.Boolean wideBody)
          Set the 'WideBody' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EquipmentTypePref

public EquipmentTypePref()
Method Detail

getEquipment

public Equipment getEquipment()
Get the extension value.

Returns:
value

setEquipment

public void setEquipment(Equipment equipment)
Set the extension value.

Parameters:
equipment -

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 -

getWideBody

public java.lang.Boolean getWideBody()
Get the 'WideBody' attribute value. Indicates if an airplane with multiple aisles is preferred.

Returns:
value

setWideBody

public void setWideBody(java.lang.Boolean wideBody)
Set the 'WideBody' attribute value. Indicates if an airplane with multiple aisles is preferred.

Parameters:
wideBody -