org.ota.air
Class AirportPref

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

public class AirportPref
extends java.lang.Object

Departure airport preferences, using IATA airport codes. 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="AirportPrefType">
   <xs:simpleContent>
     <xs:extension base="ns:LocationType">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
     </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
AirportPref()
           
 
Method Summary
 Location getLocation()
          Get the extension value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setLocation(Location location)
          Set the extension 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

AirportPref

public AirportPref()
Method Detail

getLocation

public Location getLocation()
Get the extension value.

Returns:
value

setLocation

public void setLocation(Location location)
Set the extension value.

Parameters:
location -

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 -