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

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

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

A set of preferences for air travel. 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" type="ns:AirlinePrefType" name="AirlinePref" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AirlinePrefType">
   <xs:sequence>
     <xs:element type="ns:LoyaltyPrefType" name="LoyaltyPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="VendorPref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class VendorPref -->
     </xs:element>
     <xs:element type="ns:PaymentFormPrefType" name="PaymentFormPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:AirportPrefType" name="AirportOriginPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:AirportPrefType" name="AirportDestinationPref" minOccurs="0"/>
     <xs:element type="ns:AirportPrefType" name="AirportRoutePref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="FareRestrictPref" minOccurs="0" maxOccurs="unbounded">
       <xs:complexType>
         <xs:attributeGroup ref="ns:FareRestrictPrefGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="FarePref" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class FarePref -->
     </xs:element>
     <xs:element name="TourCodePref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class TourCodePref -->
     </xs:element>
     <xs:element name="FlightTypePref" minOccurs="0" maxOccurs="unbounded">
       <xs:complexType>
         <xs:attributeGroup ref="ns:FlightTypePrefGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:EquipmentTypePref" name="EquipPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="CabinPref" minOccurs="0" maxOccurs="unbounded">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CabinPrefGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="SeatPref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class SeatPref -->
     </xs:element>
     <xs:element type="ns:TicketDistribPrefType" name="TicketDistribPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:MealPrefType" name="MealPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:SpecRequestPrefType" name="SpecRequestPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="SSR_Pref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class SSRPref -->
     </xs:element>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     <xs:element type="ns:MediaEntertainPrefType" name="MediaEntertainPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:PetInfoPrefType" name="PetInfoPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element name="AccountInformation" minOccurs="0">
       <!-- Reference to inner class AccountInformation -->
     </xs:element>
     <xs:element type="ns:OtherServiceInfoType" name="OSI_Pref" minOccurs="0" maxOccurs="99"/>
     <xs:element name="KeywordPref" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class KeywordPref -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   <xs:attributeGroup ref="ns:SmokingIndicatorGroup"/>
   <xs:attribute type="xs:string" use="optional" name="PassengerTypeCode"/>
   <xs:attribute type="ns:TicketType" use="optional" name="AirTicketType"/>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 
 <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>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SmokingIndicatorGroup">
   <xs:attribute type="xs:boolean" use="optional" name="SmokingAllowed"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class Profile.PrefCollections.PrefCollection.AirlinePref.AccountInformation
          Information related to back office accounting information for the travel agency.
static class Profile.PrefCollections.PrefCollection.AirlinePref.FarePref
          Indicates preferred fare.
static class Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref
          This element stores data about an airline marketing keyword.
static class Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref
          Indicates preferred seat characteristics.
static class Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref
          Indicates Special Service Request preference type.
static class Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref
          Provides the contract code for a negotiated fare.
static class Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref
          Identifies the preferred airline carrier(s) by name.
 
Constructor Summary
Profile.PrefCollections.PrefCollection.AirlinePref()
           
 
Method Summary
 void addAirportOriginPref(AirportPref item)
          Add a 'AirportOriginPref' element item.
 void addAirportRoutePref(AirportPref item)
          Add a 'AirportRoutePref' element item.
 void addCabinPref(CabinPrefGroup item)
          Add a 'CabinPref' element item.
 void addEquipPref(EquipmentTypePref item)
          Add a 'EquipPref' element item.
 void addFarePref(Profile.PrefCollections.PrefCollection.AirlinePref.FarePref item)
          Add a 'FarePref' element item.
 void addFareRestrictPref(FareRestrictPrefGroup item)
          Add a 'FareRestrictPref' element item.
 void addFlightTypePref(FlightTypePrefGroup item)
          Add a 'FlightTypePref' element item.
 void addKeywordPref(Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref item)
          Add a 'KeywordPref' element item.
 void addLoyaltyPref(LoyaltyPref item)
          Add a 'LoyaltyPref' element item.
 void addMealPref(MealPref item)
          Add a 'MealPref' element item.
 void addMediaEntertainPref(MediaEntertainPref item)
          Add a 'MediaEntertainPref' element item.
 void addOSIPref(OtherServiceInfo item)
          Add a 'OSI_Pref' element item.
 void addPaymentFormPref(PaymentFormPref item)
          Add a 'PaymentFormPref' element item.
 void addPetInfoPref(PetInfoPref item)
          Add a 'PetInfoPref' element item.
 void addSeatPref(Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref item)
          Add a 'SeatPref' element item.
 void addSpecRequestPref(SpecRequestPref item)
          Add a 'SpecRequestPref' element item.
 void addSSRPref(Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref item)
          Add a 'SSR_Pref' element item.
 void addTicketDistribPref(TicketDistribPref item)
          Add a 'TicketDistribPref' element item.
 void addTourCodePref(Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref item)
          Add a 'TourCodePref' element item.
 void addVendorPref(Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref item)
          Add a 'VendorPref' element item.
 void clearAirportOriginPrefs()
          Remove all 'AirportOriginPref' element items.
 void clearAirportRoutePrefs()
          Remove all 'AirportRoutePref' element items.
 void clearCabinPrefs()
          Remove all 'CabinPref' element items.
 void clearEquipPrefs()
          Remove all 'EquipPref' element items.
 void clearFarePrefs()
          Remove all 'FarePref' element items.
 void clearFareRestrictPrefs()
          Remove all 'FareRestrictPref' element items.
 void clearFlightTypePrefs()
          Remove all 'FlightTypePref' element items.
 void clearKeywordPrefs()
          Remove all 'KeywordPref' element items.
 void clearLoyaltyPrefs()
          Remove all 'LoyaltyPref' element items.
 void clearMealPrefs()
          Remove all 'MealPref' element items.
 void clearMediaEntertainPrefs()
          Remove all 'MediaEntertainPref' element items.
 void clearOSIPrefs()
          Remove all 'OSI_Pref' element items.
 void clearPaymentFormPrefs()
          Remove all 'PaymentFormPref' element items.
 void clearPetInfoPrefs()
          Remove all 'PetInfoPref' element items.
 void clearSeatPrefs()
          Remove all 'SeatPref' element items.
 void clearSpecRequestPrefs()
          Remove all 'SpecRequestPref' element items.
 void clearSSRPrefs()
          Remove all 'SSR_Pref' element items.
 void clearTicketDistribPrefs()
          Remove all 'TicketDistribPref' element items.
 void clearTourCodePrefs()
          Remove all 'TourCodePref' element items.
 void clearVendorPrefs()
          Remove all 'VendorPref' element items.
 Profile.PrefCollections.PrefCollection.AirlinePref.AccountInformation getAccountInformation()
          Get the 'AccountInformation' element value.
 AirportPref getAirportDestinationPref()
          Get the 'AirportDestinationPref' element value.
 AirportPref getAirportOriginPref(int index)
          Get 'AirportOriginPref' element item by position.
 java.util.List<AirportPref> getAirportOriginPrefs()
          Get the list of 'AirportOriginPref' element items.
 AirportPref getAirportRoutePref(int index)
          Get 'AirportRoutePref' element item by position.
 java.util.List<AirportPref> getAirportRoutePrefs()
          Get the list of 'AirportRoutePref' element items.
 Ticket getAirTicket()
          Get the 'AirTicketType' attribute value.
 CabinPrefGroup getCabinPref(int index)
          Get 'CabinPref' element item by position.
 java.util.List<CabinPrefGroup> getCabinPrefs()
          Get the list of 'CabinPref' element items.
 EquipmentTypePref getEquipPref(int index)
          Get 'EquipPref' element item by position.
 java.util.List<EquipmentTypePref> getEquipPrefs()
          Get the list of 'EquipPref' element items.
 Profile.PrefCollections.PrefCollection.AirlinePref.FarePref getFarePref(int index)
          Get 'FarePref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.FarePref> getFarePrefs()
          Get the list of 'FarePref' element items.
 FareRestrictPrefGroup getFareRestrictPref(int index)
          Get 'FareRestrictPref' element item by position.
 java.util.List<FareRestrictPrefGroup> getFareRestrictPrefs()
          Get the list of 'FareRestrictPref' element items.
 FlightTypePrefGroup getFlightTypePref(int index)
          Get 'FlightTypePref' element item by position.
 java.util.List<FlightTypePrefGroup> getFlightTypePrefs()
          Get the list of 'FlightTypePref' element items.
 Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref getKeywordPref(int index)
          Get 'KeywordPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref> getKeywordPrefs()
          Get the list of 'KeywordPref' element items.
 LoyaltyPref getLoyaltyPref(int index)
          Get 'LoyaltyPref' element item by position.
 java.util.List<LoyaltyPref> getLoyaltyPrefs()
          Get the list of 'LoyaltyPref' element items.
 MealPref getMealPref(int index)
          Get 'MealPref' element item by position.
 java.util.List<MealPref> getMealPrefs()
          Get the list of 'MealPref' element items.
 MediaEntertainPref getMediaEntertainPref(int index)
          Get 'MediaEntertainPref' element item by position.
 java.util.List<MediaEntertainPref> getMediaEntertainPrefs()
          Get the list of 'MediaEntertainPref' element items.
 OtherServiceInfo getOSIPref(int index)
          Get 'OSI_Pref' element item by position.
 java.util.List<OtherServiceInfo> getOSIPrefs()
          Get the list of 'OSI_Pref' element items.
 java.lang.String getPassengerTypeCode()
          Get the 'PassengerTypeCode' attribute value.
 PaymentFormPref getPaymentFormPref(int index)
          Get 'PaymentFormPref' element item by position.
 java.util.List<PaymentFormPref> getPaymentFormPrefs()
          Get the list of 'PaymentFormPref' element items.
 PetInfoPref getPetInfoPref(int index)
          Get 'PetInfoPref' element item by position.
 java.util.List<PetInfoPref> getPetInfoPrefs()
          Get the list of 'PetInfoPref' element items.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref getSeatPref(int index)
          Get 'SeatPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref> getSeatPrefs()
          Get the list of 'SeatPref' element items.
 java.lang.Boolean getSmokingAllowed()
          Get the 'SmokingAllowed' attribute value.
 SpecRequestPref getSpecRequestPref(int index)
          Get 'SpecRequestPref' element item by position.
 java.util.List<SpecRequestPref> getSpecRequestPrefs()
          Get the list of 'SpecRequestPref' element items.
 Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref getSSRPref(int index)
          Get 'SSR_Pref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref> getSSRPrefs()
          Get the list of 'SSR_Pref' element items.
 TicketDistribPref getTicketDistribPref(int index)
          Get 'TicketDistribPref' element item by position.
 java.util.List<TicketDistribPref> getTicketDistribPrefs()
          Get the list of 'TicketDistribPref' element items.
 Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref getTourCodePref(int index)
          Get 'TourCodePref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref> getTourCodePrefs()
          Get the list of 'TourCodePref' element items.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref getVendorPref(int index)
          Get 'VendorPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref> getVendorPrefs()
          Get the list of 'VendorPref' element items.
 void setAccountInformation(Profile.PrefCollections.PrefCollection.AirlinePref.AccountInformation accountInformation)
          Set the 'AccountInformation' element value.
 void setAirportDestinationPref(AirportPref airportDestinationPref)
          Set the 'AirportDestinationPref' element value.
 void setAirportOriginPrefs(java.util.List<AirportPref> list)
          Set the list of 'AirportOriginPref' element items.
 void setAirportRoutePrefs(java.util.List<AirportPref> list)
          Set the list of 'AirportRoutePref' element items.
 void setAirTicket(Ticket airTicket)
          Set the 'AirTicketType' attribute value.
 void setCabinPrefs(java.util.List<CabinPrefGroup> list)
          Set the list of 'CabinPref' element items.
 void setEquipPrefs(java.util.List<EquipmentTypePref> list)
          Set the list of 'EquipPref' element items.
 void setFarePrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.FarePref> list)
          Set the list of 'FarePref' element items.
 void setFareRestrictPrefs(java.util.List<FareRestrictPrefGroup> list)
          Set the list of 'FareRestrictPref' element items.
 void setFlightTypePrefs(java.util.List<FlightTypePrefGroup> list)
          Set the list of 'FlightTypePref' element items.
 void setKeywordPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref> list)
          Set the list of 'KeywordPref' element items.
 void setLoyaltyPrefs(java.util.List<LoyaltyPref> list)
          Set the list of 'LoyaltyPref' element items.
 void setMealPrefs(java.util.List<MealPref> list)
          Set the list of 'MealPref' element items.
 void setMediaEntertainPrefs(java.util.List<MediaEntertainPref> list)
          Set the list of 'MediaEntertainPref' element items.
 void setOSIPrefs(java.util.List<OtherServiceInfo> list)
          Set the list of 'OSI_Pref' element items.
 void setPassengerTypeCode(java.lang.String passengerTypeCode)
          Set the 'PassengerTypeCode' attribute value.
 void setPaymentFormPrefs(java.util.List<PaymentFormPref> list)
          Set the list of 'PaymentFormPref' element items.
 void setPetInfoPrefs(java.util.List<PetInfoPref> list)
          Set the list of 'PetInfoPref' element items.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setSeatPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref> list)
          Set the list of 'SeatPref' element items.
 void setSmokingAllowed(java.lang.Boolean smokingAllowed)
          Set the 'SmokingAllowed' attribute value.
 void setSpecRequestPrefs(java.util.List<SpecRequestPref> list)
          Set the list of 'SpecRequestPref' element items.
 void setSSRPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref> list)
          Set the list of 'SSR_Pref' element items.
 void setTicketDistribPrefs(java.util.List<TicketDistribPref> list)
          Set the list of 'TicketDistribPref' element items.
 void setTourCodePrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref> list)
          Set the list of 'TourCodePref' element items.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVendorPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref> list)
          Set the list of 'VendorPref' element items.
 int sizeAirportOriginPrefs()
          Get the number of 'AirportOriginPref' element items.
 int sizeAirportRoutePrefs()
          Get the number of 'AirportRoutePref' element items.
 int sizeCabinPrefs()
          Get the number of 'CabinPref' element items.
 int sizeEquipPrefs()
          Get the number of 'EquipPref' element items.
 int sizeFarePrefs()
          Get the number of 'FarePref' element items.
 int sizeFareRestrictPrefs()
          Get the number of 'FareRestrictPref' element items.
 int sizeFlightTypePrefs()
          Get the number of 'FlightTypePref' element items.
 int sizeKeywordPrefs()
          Get the number of 'KeywordPref' element items.
 int sizeLoyaltyPrefs()
          Get the number of 'LoyaltyPref' element items.
 int sizeMealPrefs()
          Get the number of 'MealPref' element items.
 int sizeMediaEntertainPrefs()
          Get the number of 'MediaEntertainPref' element items.
 int sizeOSIPrefs()
          Get the number of 'OSI_Pref' element items.
 int sizePaymentFormPrefs()
          Get the number of 'PaymentFormPref' element items.
 int sizePetInfoPrefs()
          Get the number of 'PetInfoPref' element items.
 int sizeSeatPrefs()
          Get the number of 'SeatPref' element items.
 int sizeSpecRequestPrefs()
          Get the number of 'SpecRequestPref' element items.
 int sizeSSRPrefs()
          Get the number of 'SSR_Pref' element items.
 int sizeTicketDistribPrefs()
          Get the number of 'TicketDistribPref' element items.
 int sizeTourCodePrefs()
          Get the number of 'TourCodePref' element items.
 int sizeVendorPrefs()
          Get the number of 'VendorPref' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.AirlinePref

public Profile.PrefCollections.PrefCollection.AirlinePref()
Method Detail

getLoyaltyPrefs

public java.util.List<LoyaltyPref> getLoyaltyPrefs()
Get the list of 'LoyaltyPref' element items. Identifies the preferred loyalty program(s).

Returns:
list

setLoyaltyPrefs

public void setLoyaltyPrefs(java.util.List<LoyaltyPref> list)
Set the list of 'LoyaltyPref' element items. Identifies the preferred loyalty program(s).

Parameters:
list -

sizeLoyaltyPrefs

public int sizeLoyaltyPrefs()
Get the number of 'LoyaltyPref' element items.

Returns:
count

addLoyaltyPref

public void addLoyaltyPref(LoyaltyPref item)
Add a 'LoyaltyPref' element item.

Parameters:
item -

getLoyaltyPref

public LoyaltyPref getLoyaltyPref(int index)
Get 'LoyaltyPref' element item by position.

Parameters:
index -
Returns:
item

clearLoyaltyPrefs

public void clearLoyaltyPrefs()
Remove all 'LoyaltyPref' element items.


getVendorPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref> getVendorPrefs()
Get the list of 'VendorPref' element items. Identifies a collection of preferences for airline travel.

Returns:
list

setVendorPrefs

public void setVendorPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref> list)
Set the list of 'VendorPref' element items. Identifies a collection of preferences for airline travel.

Parameters:
list -

sizeVendorPrefs

public int sizeVendorPrefs()
Get the number of 'VendorPref' element items.

Returns:
count

addVendorPref

public void addVendorPref(Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref item)
Add a 'VendorPref' element item.

Parameters:
item -

getVendorPref

public Profile.PrefCollections.PrefCollection.AirlinePref.VendorPref getVendorPref(int index)
Get 'VendorPref' element item by position.

Parameters:
index -
Returns:
item

clearVendorPrefs

public void clearVendorPrefs()
Remove all 'VendorPref' element items.


getPaymentFormPrefs

public java.util.List<PaymentFormPref> getPaymentFormPrefs()
Get the list of 'PaymentFormPref' element items. Preferred form(s) of payment.

Returns:
list

setPaymentFormPrefs

public void setPaymentFormPrefs(java.util.List<PaymentFormPref> list)
Set the list of 'PaymentFormPref' element items. Preferred form(s) of payment.

Parameters:
list -

sizePaymentFormPrefs

public int sizePaymentFormPrefs()
Get the number of 'PaymentFormPref' element items.

Returns:
count

addPaymentFormPref

public void addPaymentFormPref(PaymentFormPref item)
Add a 'PaymentFormPref' element item.

Parameters:
item -

getPaymentFormPref

public PaymentFormPref getPaymentFormPref(int index)
Get 'PaymentFormPref' element item by position.

Parameters:
index -
Returns:
item

clearPaymentFormPrefs

public void clearPaymentFormPrefs()
Remove all 'PaymentFormPref' element items.


getAirportOriginPrefs

public java.util.List<AirportPref> getAirportOriginPrefs()
Get the list of 'AirportOriginPref' element items. Identifies the preferred origination airport for travel (using IATA airport codes).

Returns:
list

setAirportOriginPrefs

public void setAirportOriginPrefs(java.util.List<AirportPref> list)
Set the list of 'AirportOriginPref' element items. Identifies the preferred origination airport for travel (using IATA airport codes).

Parameters:
list -

sizeAirportOriginPrefs

public int sizeAirportOriginPrefs()
Get the number of 'AirportOriginPref' element items.

Returns:
count

addAirportOriginPref

public void addAirportOriginPref(AirportPref item)
Add a 'AirportOriginPref' element item.

Parameters:
item -

getAirportOriginPref

public AirportPref getAirportOriginPref(int index)
Get 'AirportOriginPref' element item by position.

Parameters:
index -
Returns:
item

clearAirportOriginPrefs

public void clearAirportOriginPrefs()
Remove all 'AirportOriginPref' element items.


getAirportDestinationPref

public AirportPref getAirportDestinationPref()
Get the 'AirportDestinationPref' element value. Identifies the preferred destination airport for travel (using IATA airport codes).

Returns:
value

setAirportDestinationPref

public void setAirportDestinationPref(AirportPref airportDestinationPref)
Set the 'AirportDestinationPref' element value. Identifies the preferred destination airport for travel (using IATA airport codes).

Parameters:
airportDestinationPref -

getAirportRoutePrefs

public java.util.List<AirportPref> getAirportRoutePrefs()
Get the list of 'AirportRoutePref' element items. Indicates the preferred connection airport(s) (using IATA airport codes)..

Returns:
list

setAirportRoutePrefs

public void setAirportRoutePrefs(java.util.List<AirportPref> list)
Set the list of 'AirportRoutePref' element items. Indicates the preferred connection airport(s) (using IATA airport codes)..

Parameters:
list -

sizeAirportRoutePrefs

public int sizeAirportRoutePrefs()
Get the number of 'AirportRoutePref' element items.

Returns:
count

addAirportRoutePref

public void addAirportRoutePref(AirportPref item)
Add a 'AirportRoutePref' element item.

Parameters:
item -

getAirportRoutePref

public AirportPref getAirportRoutePref(int index)
Get 'AirportRoutePref' element item by position.

Parameters:
index -
Returns:
item

clearAirportRoutePrefs

public void clearAirportRoutePrefs()
Remove all 'AirportRoutePref' element items.


getFareRestrictPrefs

public java.util.List<FareRestrictPrefGroup> getFareRestrictPrefs()
Get the list of 'FareRestrictPref' element items. Indicates preferred fare restrictions to be used in search.

Returns:
list

setFareRestrictPrefs

public void setFareRestrictPrefs(java.util.List<FareRestrictPrefGroup> list)
Set the list of 'FareRestrictPref' element items. Indicates preferred fare restrictions to be used in search.

Parameters:
list -

sizeFareRestrictPrefs

public int sizeFareRestrictPrefs()
Get the number of 'FareRestrictPref' element items.

Returns:
count

addFareRestrictPref

public void addFareRestrictPref(FareRestrictPrefGroup item)
Add a 'FareRestrictPref' element item.

Parameters:
item -

getFareRestrictPref

public FareRestrictPrefGroup getFareRestrictPref(int index)
Get 'FareRestrictPref' element item by position.

Parameters:
index -
Returns:
item

clearFareRestrictPrefs

public void clearFareRestrictPrefs()
Remove all 'FareRestrictPref' element items.


getFarePrefs

public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.FarePref> getFarePrefs()
Get the list of 'FarePref' element items. Identifies a collection of preferences for airline travel.

Returns:
list

setFarePrefs

public void setFarePrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.FarePref> list)
Set the list of 'FarePref' element items. Identifies a collection of preferences for airline travel.

Parameters:
list -

sizeFarePrefs

public int sizeFarePrefs()
Get the number of 'FarePref' element items.

Returns:
count

addFarePref

public void addFarePref(Profile.PrefCollections.PrefCollection.AirlinePref.FarePref item)
Add a 'FarePref' element item.

Parameters:
item -

getFarePref

public Profile.PrefCollections.PrefCollection.AirlinePref.FarePref getFarePref(int index)
Get 'FarePref' element item by position.

Parameters:
index -
Returns:
item

clearFarePrefs

public void clearFarePrefs()
Remove all 'FarePref' element items.


getTourCodePrefs

public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref> getTourCodePrefs()
Get the list of 'TourCodePref' element items. Identifies a collection of preferences for airline travel.

Returns:
list

setTourCodePrefs

public void setTourCodePrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref> list)
Set the list of 'TourCodePref' element items. Identifies a collection of preferences for airline travel.

Parameters:
list -

sizeTourCodePrefs

public int sizeTourCodePrefs()
Get the number of 'TourCodePref' element items.

Returns:
count

addTourCodePref

public void addTourCodePref(Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref item)
Add a 'TourCodePref' element item.

Parameters:
item -

getTourCodePref

public Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref getTourCodePref(int index)
Get 'TourCodePref' element item by position.

Parameters:
index -
Returns:
item

clearTourCodePrefs

public void clearTourCodePrefs()
Remove all 'TourCodePref' element items.


getFlightTypePrefs

public java.util.List<FlightTypePrefGroup> getFlightTypePrefs()
Get the list of 'FlightTypePref' element items. Indicates preferred flight characteristics to be used in a search (e.g., connections, stopovers).

Returns:
list

setFlightTypePrefs

public void setFlightTypePrefs(java.util.List<FlightTypePrefGroup> list)
Set the list of 'FlightTypePref' element items. Indicates preferred flight characteristics to be used in a search (e.g., connections, stopovers).

Parameters:
list -

sizeFlightTypePrefs

public int sizeFlightTypePrefs()
Get the number of 'FlightTypePref' element items.

Returns:
count

addFlightTypePref

public void addFlightTypePref(FlightTypePrefGroup item)
Add a 'FlightTypePref' element item.

Parameters:
item -

getFlightTypePref

public FlightTypePrefGroup getFlightTypePref(int index)
Get 'FlightTypePref' element item by position.

Parameters:
index -
Returns:
item

clearFlightTypePrefs

public void clearFlightTypePrefs()
Remove all 'FlightTypePref' element items.


getEquipPrefs

public java.util.List<EquipmentTypePref> getEquipPrefs()
Get the list of 'EquipPref' element items. Indicates preferred equipment type(s) to be used in a search.

Returns:
list

setEquipPrefs

public void setEquipPrefs(java.util.List<EquipmentTypePref> list)
Set the list of 'EquipPref' element items. Indicates preferred equipment type(s) to be used in a search.

Parameters:
list -

sizeEquipPrefs

public int sizeEquipPrefs()
Get the number of 'EquipPref' element items.

Returns:
count

addEquipPref

public void addEquipPref(EquipmentTypePref item)
Add a 'EquipPref' element item.

Parameters:
item -

getEquipPref

public EquipmentTypePref getEquipPref(int index)
Get 'EquipPref' element item by position.

Parameters:
index -
Returns:
item

clearEquipPrefs

public void clearEquipPrefs()
Remove all 'EquipPref' element items.


getCabinPrefs

public java.util.List<CabinPrefGroup> getCabinPrefs()
Get the list of 'CabinPref' element items. Indicates preferred cabin(s) to be used in a search.

Returns:
list

setCabinPrefs

public void setCabinPrefs(java.util.List<CabinPrefGroup> list)
Set the list of 'CabinPref' element items. Indicates preferred cabin(s) to be used in a search.

Parameters:
list -

sizeCabinPrefs

public int sizeCabinPrefs()
Get the number of 'CabinPref' element items.

Returns:
count

addCabinPref

public void addCabinPref(CabinPrefGroup item)
Add a 'CabinPref' element item.

Parameters:
item -

getCabinPref

public CabinPrefGroup getCabinPref(int index)
Get 'CabinPref' element item by position.

Parameters:
index -
Returns:
item

clearCabinPrefs

public void clearCabinPrefs()
Remove all 'CabinPref' element items.


getSeatPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref> getSeatPrefs()
Get the list of 'SeatPref' element items. Identifies a collection of preferences for airline travel.

Returns:
list

setSeatPrefs

public void setSeatPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref> list)
Set the list of 'SeatPref' element items. Identifies a collection of preferences for airline travel.

Parameters:
list -

sizeSeatPrefs

public int sizeSeatPrefs()
Get the number of 'SeatPref' element items.

Returns:
count

addSeatPref

public void addSeatPref(Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref item)
Add a 'SeatPref' element item.

Parameters:
item -

getSeatPref

public Profile.PrefCollections.PrefCollection.AirlinePref.SeatPref getSeatPref(int index)
Get 'SeatPref' element item by position.

Parameters:
index -
Returns:
item

clearSeatPrefs

public void clearSeatPrefs()
Remove all 'SeatPref' element items.


getTicketDistribPrefs

public java.util.List<TicketDistribPref> getTicketDistribPrefs()
Get the list of 'TicketDistribPref' element items. Indicates preferred ticket distribution method (e.g., fax, eMail, courier, mail, airport pickup)

Returns:
list

setTicketDistribPrefs

public void setTicketDistribPrefs(java.util.List<TicketDistribPref> list)
Set the list of 'TicketDistribPref' element items. Indicates preferred ticket distribution method (e.g., fax, eMail, courier, mail, airport pickup)

Parameters:
list -

sizeTicketDistribPrefs

public int sizeTicketDistribPrefs()
Get the number of 'TicketDistribPref' element items.

Returns:
count

addTicketDistribPref

public void addTicketDistribPref(TicketDistribPref item)
Add a 'TicketDistribPref' element item.

Parameters:
item -

getTicketDistribPref

public TicketDistribPref getTicketDistribPref(int index)
Get 'TicketDistribPref' element item by position.

Parameters:
index -
Returns:
item

clearTicketDistribPrefs

public void clearTicketDistribPrefs()
Remove all 'TicketDistribPref' element items.


getMealPrefs

public java.util.List<MealPref> getMealPrefs()
Get the list of 'MealPref' element items. Indicates preferred meal type (e.g., vegetarian, Kosher, low fat)

Returns:
list

setMealPrefs

public void setMealPrefs(java.util.List<MealPref> list)
Set the list of 'MealPref' element items. Indicates preferred meal type (e.g., vegetarian, Kosher, low fat)

Parameters:
list -

sizeMealPrefs

public int sizeMealPrefs()
Get the number of 'MealPref' element items.

Returns:
count

addMealPref

public void addMealPref(MealPref item)
Add a 'MealPref' element item.

Parameters:
item -

getMealPref

public MealPref getMealPref(int index)
Get 'MealPref' element item by position.

Parameters:
index -
Returns:
item

clearMealPrefs

public void clearMealPrefs()
Remove all 'MealPref' element items.


getSpecRequestPrefs

public java.util.List<SpecRequestPref> getSpecRequestPrefs()
Get the list of 'SpecRequestPref' element items. Indicates preferred special request(s) to be used with this collection of preferences.

Returns:
list

setSpecRequestPrefs

public void setSpecRequestPrefs(java.util.List<SpecRequestPref> list)
Set the list of 'SpecRequestPref' element items. Indicates preferred special request(s) to be used with this collection of preferences.

Parameters:
list -

sizeSpecRequestPrefs

public int sizeSpecRequestPrefs()
Get the number of 'SpecRequestPref' element items.

Returns:
count

addSpecRequestPref

public void addSpecRequestPref(SpecRequestPref item)
Add a 'SpecRequestPref' element item.

Parameters:
item -

getSpecRequestPref

public SpecRequestPref getSpecRequestPref(int index)
Get 'SpecRequestPref' element item by position.

Parameters:
index -
Returns:
item

clearSpecRequestPrefs

public void clearSpecRequestPrefs()
Remove all 'SpecRequestPref' element items.


getSSRPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref> getSSRPrefs()
Get the list of 'SSR_Pref' element items. Identifies a collection of preferences for airline travel.

Returns:
list

setSSRPrefs

public void setSSRPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref> list)
Set the list of 'SSR_Pref' element items. Identifies a collection of preferences for airline travel.

Parameters:
list -

sizeSSRPrefs

public int sizeSSRPrefs()
Get the number of 'SSR_Pref' element items.

Returns:
count

addSSRPref

public void addSSRPref(Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref item)
Add a 'SSR_Pref' element item.

Parameters:
item -

getSSRPref

public Profile.PrefCollections.PrefCollection.AirlinePref.SSRPref getSSRPref(int index)
Get 'SSR_Pref' element item by position.

Parameters:
index -
Returns:
item

clearSSRPrefs

public void clearSSRPrefs()
Remove all 'SSR_Pref' element items.


getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getMediaEntertainPrefs

public java.util.List<MediaEntertainPref> getMediaEntertainPrefs()
Get the list of 'MediaEntertainPref' element items. Media and entertainment preferences.

Returns:
list

setMediaEntertainPrefs

public void setMediaEntertainPrefs(java.util.List<MediaEntertainPref> list)
Set the list of 'MediaEntertainPref' element items. Media and entertainment preferences.

Parameters:
list -

sizeMediaEntertainPrefs

public int sizeMediaEntertainPrefs()
Get the number of 'MediaEntertainPref' element items.

Returns:
count

addMediaEntertainPref

public void addMediaEntertainPref(MediaEntertainPref item)
Add a 'MediaEntertainPref' element item.

Parameters:
item -

getMediaEntertainPref

public MediaEntertainPref getMediaEntertainPref(int index)
Get 'MediaEntertainPref' element item by position.

Parameters:
index -
Returns:
item

clearMediaEntertainPrefs

public void clearMediaEntertainPrefs()
Remove all 'MediaEntertainPref' element items.


getPetInfoPrefs

public java.util.List<PetInfoPref> getPetInfoPrefs()
Get the list of 'PetInfoPref' element items. Indicates preferred information for pet accompanying traveler.

Returns:
list

setPetInfoPrefs

public void setPetInfoPrefs(java.util.List<PetInfoPref> list)
Set the list of 'PetInfoPref' element items. Indicates preferred information for pet accompanying traveler.

Parameters:
list -

sizePetInfoPrefs

public int sizePetInfoPrefs()
Get the number of 'PetInfoPref' element items.

Returns:
count

addPetInfoPref

public void addPetInfoPref(PetInfoPref item)
Add a 'PetInfoPref' element item.

Parameters:
item -

getPetInfoPref

public PetInfoPref getPetInfoPref(int index)
Get 'PetInfoPref' element item by position.

Parameters:
index -
Returns:
item

clearPetInfoPrefs

public void clearPetInfoPrefs()
Remove all 'PetInfoPref' element items.


getAccountInformation

public Profile.PrefCollections.PrefCollection.AirlinePref.AccountInformation getAccountInformation()
Get the 'AccountInformation' element value. Identifies a collection of preferences for airline travel.

Returns:
value

setAccountInformation

public void setAccountInformation(Profile.PrefCollections.PrefCollection.AirlinePref.AccountInformation accountInformation)
Set the 'AccountInformation' element value. Identifies a collection of preferences for airline travel.

Parameters:
accountInformation -

getOSIPrefs

public java.util.List<OtherServiceInfo> getOSIPrefs()
Get the list of 'OSI_Pref' element items. Other Service Information of the airline.

Returns:
list

setOSIPrefs

public void setOSIPrefs(java.util.List<OtherServiceInfo> list)
Set the list of 'OSI_Pref' element items. Other Service Information of the airline.

Parameters:
list -

sizeOSIPrefs

public int sizeOSIPrefs()
Get the number of 'OSI_Pref' element items.

Returns:
count

addOSIPref

public void addOSIPref(OtherServiceInfo item)
Add a 'OSI_Pref' element item.

Parameters:
item -

getOSIPref

public OtherServiceInfo getOSIPref(int index)
Get 'OSI_Pref' element item by position.

Parameters:
index -
Returns:
item

clearOSIPrefs

public void clearOSIPrefs()
Remove all 'OSI_Pref' element items.


getKeywordPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref> getKeywordPrefs()
Get the list of 'KeywordPref' element items. Identifies a collection of preferences for airline travel.

Returns:
list

setKeywordPrefs

public void setKeywordPrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref> list)
Set the list of 'KeywordPref' element items. Identifies a collection of preferences for airline travel.

Parameters:
list -

sizeKeywordPrefs

public int sizeKeywordPrefs()
Get the number of 'KeywordPref' element items.

Returns:
count

addKeywordPref

public void addKeywordPref(Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref item)
Add a 'KeywordPref' element item.

Parameters:
item -

getKeywordPref

public Profile.PrefCollections.PrefCollection.AirlinePref.KeywordPref getKeywordPref(int index)
Get 'KeywordPref' element item by position.

Parameters:
index -
Returns:
item

clearKeywordPrefs

public void clearKeywordPrefs()
Remove all 'KeywordPref' element items.


getPrivacyGroup

public PrivacyGroup getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value.

Returns:
value

setPrivacyGroup

public void setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value.

Parameters:
privacyGroup -

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 -

getSmokingAllowed

public java.lang.Boolean getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Returns:
value

setSmokingAllowed

public void setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Parameters:
smokingAllowed -

getPassengerTypeCode

public java.lang.String getPassengerTypeCode()
Get the 'PassengerTypeCode' attribute value. Category of airline passenger, using standard ATPCO codes.

Returns:
value

setPassengerTypeCode

public void setPassengerTypeCode(java.lang.String passengerTypeCode)
Set the 'PassengerTypeCode' attribute value. Category of airline passenger, using standard ATPCO codes.

Parameters:
passengerTypeCode -

getAirTicket

public Ticket getAirTicket()
Get the 'AirTicketType' attribute value. Type of airline ticket preferred for this collection.

Returns:
value

setAirTicket

public void setAirTicket(Ticket airTicket)
Set the 'AirTicketType' attribute value. Type of airline ticket preferred for this collection.

Parameters:
airTicket -