org.ota.profile
Class Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref
Enclosing class:
Profile.PrefCollections.PrefCollection.AirlinePref

public static class Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref
extends java.lang.Object

Indicates preferred seat characteristics. Refer to OpenTravel Code List Seat Preference (STP) for codes. 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="SeatPref" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attributeGroup ref="ns:SeatPrefGroup"/>
     <xs:attribute use="optional" name="FlightDistanceQualifier">
       <xs:simpleType>
         <!-- Reference to inner class FlightDistanceQualifier -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:boolean" use="optional" name="InternationalIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="AirlineVendorPrefRPH"/>
     <xs:attribute type="xs:string" use="optional" name="PassengerTypeCode"/>
     <xs:attribute type="ns:TransferActionType" use="optional" name="TransferAction"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatPrefGroup">
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   <xs:attributeGroup ref="ns:SeatRequestAttributes"/>
 </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>
 


Nested Class Summary
static class Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref.FlightDistanceQualifier
          Schema fragment(s) for this class:
 
Constructor Summary
Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref()
           
 
Method Summary
 java.lang.String getAirlineVendorPrefRPH()
          Get the 'AirlineVendorPrefRPH' attribute value.
 Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref.FlightDistanceQualifier getFlightDistanceQualifier()
          Get the 'FlightDistanceQualifier' attribute value.
 java.lang.Boolean getInternationalIndicator()
          Get the 'InternationalIndicator' attribute value.
 java.lang.String getPassengerTypeCode()
          Get the 'PassengerTypeCode' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 SeatRequestAttributes getSeatRequestAttributes()
          Get the 'SeatRequestAttributes' attributeGroup value.
 TransferAction getTransferAction()
          Get the 'TransferAction' attribute value.
 void setAirlineVendorPrefRPH(java.lang.String airlineVendorPrefRPH)
          Set the 'AirlineVendorPrefRPH' attribute value.
 void setFlightDistanceQualifier(Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref.FlightDistanceQualifier flightDistanceQualifier)
          Set the 'FlightDistanceQualifier' attribute value.
 void setInternationalIndicator(java.lang.Boolean internationalIndicator)
          Set the 'InternationalIndicator' attribute value.
 void setPassengerTypeCode(java.lang.String passengerTypeCode)
          Set the 'PassengerTypeCode' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setSeatRequestAttributes(SeatRequestAttributes seatRequestAttributes)
          Set the 'SeatRequestAttributes' attributeGroup value.
 void setTransferAction(TransferAction transferAction)
          Set the 'TransferAction' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref

public Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref()
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 -

getSeatRequestAttributes

public SeatRequestAttributes getSeatRequestAttributes()
Get the 'SeatRequestAttributes' attributeGroup value.

Returns:
value

setSeatRequestAttributes

public void setSeatRequestAttributes(SeatRequestAttributes seatRequestAttributes)
Set the 'SeatRequestAttributes' attributeGroup value.

Parameters:
seatRequestAttributes -

getFlightDistanceQualifier

public Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref.FlightDistanceQualifier getFlightDistanceQualifier()
Get the 'FlightDistanceQualifier' attribute value. Used to distingish a flight as long haul or short haul.

Returns:
value

setFlightDistanceQualifier

public void setFlightDistanceQualifier(Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref.FlightDistanceQualifier flightDistanceQualifier)
Set the 'FlightDistanceQualifier' attribute value. Used to distingish a flight as long haul or short haul.

Parameters:
flightDistanceQualifier -

getInternationalIndicator

public java.lang.Boolean getInternationalIndicator()
Get the 'InternationalIndicator' attribute value. When true, indicates an international flight.

Returns:
value

setInternationalIndicator

public void setInternationalIndicator(java.lang.Boolean internationalIndicator)
Set the 'InternationalIndicator' attribute value. When true, indicates an international flight.

Parameters:
internationalIndicator -

getAirlineVendorPrefRPH

public java.lang.String getAirlineVendorPrefRPH()
Get the 'AirlineVendorPrefRPH' attribute value. Reference to one or more airlines in VendorPref.

Returns:
value

setAirlineVendorPrefRPH

public void setAirlineVendorPrefRPH(java.lang.String airlineVendorPrefRPH)
Set the 'AirlineVendorPrefRPH' attribute value. Reference to one or more airlines in VendorPref.

Parameters:
airlineVendorPrefRPH -

getPassengerTypeCode

public java.lang.String getPassengerTypeCode()
Get the 'PassengerTypeCode' attribute value. Code used to indicate the type of traveler (e.g., ADT, CHD, INF, GRP).

Returns:
value

setPassengerTypeCode

public void setPassengerTypeCode(java.lang.String passengerTypeCode)
Set the 'PassengerTypeCode' attribute value. Code used to indicate the type of traveler (e.g., ADT, CHD, INF, GRP).

Parameters:
passengerTypeCode -

getTransferAction

public TransferAction getTransferAction()
Get the 'TransferAction' attribute value. Indicates under what conditions this element will be transfered to the booking.

Returns:
value

setTransferAction

public void setTransferAction(TransferAction transferAction)
Set the 'TransferAction' attribute value. Indicates under what conditions this element will be transfered to the booking.

Parameters:
transferAction -