org.ota.air
Class SeatMapRQ.AirTravelers.AirTraveler

java.lang.Object
  extended by org.ota.air.SeatMapRQ.AirTravelers.AirTraveler
Enclosing class:
SeatMapRQ.AirTravelers

public static class SeatMapRQ.AirTravelers.AirTraveler
extends java.lang.Object

This specifies the quantity and types of passengers. 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="AirTraveler" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0"/>
       <xs:element name="CustLoyalty" minOccurs="0" maxOccurs="5">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CustomerLoyaltyGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:PassengerTypeQuantityType" name="PassengerTypeQuantity" minOccurs="0"/>
       <xs:element name="TravelerRefNumber" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:TravelerRefNumberGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:GenderGroup"/>
     <xs:attributeGroup ref="ns:PrivacyGroup"/>
     <xs:attribute type="xs:date" use="optional" name="BirthDate"/>
     <xs:attribute type="xs:string" use="optional" name="CurrencyCode"/>
     <xs:attribute type="xs:string" use="optional" name="PassengerTypeCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="AccompaniedByInfant"/>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PassengerTypeQuantityType">
   <xs:attributeGroup ref="ns:TravelerCountGroup"/>
 </xs:complexType>
 


Constructor Summary
SeatMapRQ.AirTravelers.AirTraveler()
           
 
Method Summary
 void addCustLoyalty(CustomerLoyaltyGroup item)
          Add a 'CustLoyalty' element item.
 void clearCustLoyalties()
          Remove all 'CustLoyalty' element items.
 java.lang.Boolean getAccompaniedByInfant()
          Get the 'AccompaniedByInfant' attribute value.
 java.sql.Date getBirthDate()
          Get the 'BirthDate' attribute value.
 java.lang.String getCurrencyCode()
          Get the 'CurrencyCode' attribute value.
 java.util.List<CustomerLoyaltyGroup> getCustLoyalties()
          Get the list of 'CustLoyalty' element items.
 CustomerLoyaltyGroup getCustLoyalty(int index)
          Get 'CustLoyalty' element item by position.
 GenderGroup getGenderGroup()
          Get the 'GenderGroup' attributeGroup value.
 java.lang.String getPassengerTypeCode()
          Get the 'PassengerTypeCode' attribute value.
 PersonName getPersonName()
          Get the 'PersonName' element value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 TravelerCountGroup getTravelerCountGroup()
          Get the 'TravelerCountGroup' attributeGroup value.
 TravelerRefNumberGroup getTravelerRefNumber()
          Get the 'TravelerRefNumberGroup' attributeGroup value.
 void setAccompaniedByInfant(java.lang.Boolean accompaniedByInfant)
          Set the 'AccompaniedByInfant' attribute value.
 void setBirthDate(java.sql.Date birthDate)
          Set the 'BirthDate' attribute value.
 void setCurrencyCode(java.lang.String currencyCode)
          Set the 'CurrencyCode' attribute value.
 void setCustLoyalties(java.util.List<CustomerLoyaltyGroup> list)
          Set the list of 'CustLoyalty' element items.
 void setGenderGroup(GenderGroup genderGroup)
          Set the 'GenderGroup' attributeGroup value.
 void setPassengerTypeCode(java.lang.String passengerTypeCode)
          Set the 'PassengerTypeCode' attribute value.
 void setPersonName(PersonName personName)
          Set the 'PersonName' element value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
          Set the 'TravelerCountGroup' attributeGroup value.
 void setTravelerRefNumber(TravelerRefNumberGroup travelerRefNumber)
          Set the 'TravelerRefNumberGroup' attributeGroup value.
 int sizeCustLoyalties()
          Get the number of 'CustLoyalty' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeatMapRQ.AirTravelers.AirTraveler

public SeatMapRQ.AirTravelers.AirTraveler()
Method Detail

getPersonName

public PersonName getPersonName()
Get the 'PersonName' element value. Individuals complete name information

Returns:
value

setPersonName

public void setPersonName(PersonName personName)
Set the 'PersonName' element value. Individuals complete name information

Parameters:
personName -

getCustLoyalties

public java.util.List<CustomerLoyaltyGroup> getCustLoyalties()
Get the list of 'CustLoyalty' element items. Frequent Flier information of the passenger

Returns:
list

setCustLoyalties

public void setCustLoyalties(java.util.List<CustomerLoyaltyGroup> list)
Set the list of 'CustLoyalty' element items. Frequent Flier information of the passenger

Parameters:
list -

sizeCustLoyalties

public int sizeCustLoyalties()
Get the number of 'CustLoyalty' element items.

Returns:
count

addCustLoyalty

public void addCustLoyalty(CustomerLoyaltyGroup item)
Add a 'CustLoyalty' element item.

Parameters:
item -

getCustLoyalty

public CustomerLoyaltyGroup getCustLoyalty(int index)
Get 'CustLoyalty' element item by position.

Parameters:
index -
Returns:
item

clearCustLoyalties

public void clearCustLoyalties()
Remove all 'CustLoyalty' element items.


getTravelerCountGroup

public TravelerCountGroup getTravelerCountGroup()
Get the 'TravelerCountGroup' attributeGroup value. Specifies a PTC and the associated number of PTC's - for use in specifying passenger lists.

Returns:
value

setTravelerCountGroup

public void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
Set the 'TravelerCountGroup' attributeGroup value. Specifies a PTC and the associated number of PTC's - for use in specifying passenger lists.

Parameters:
travelerCountGroup -

getTravelerRefNumber

public TravelerRefNumberGroup getTravelerRefNumber()
Get the 'TravelerRefNumberGroup' attributeGroup value. Direct reference of traveler assigned by requesting system. Used as a cross reference between data segments.This value will be mapped to the RPH value in TravelRefNumber of the SeatMapRequest element

Returns:
value

setTravelerRefNumber

public void setTravelerRefNumber(TravelerRefNumberGroup travelerRefNumber)
Set the 'TravelerRefNumberGroup' attributeGroup value. Direct reference of traveler assigned by requesting system. Used as a cross reference between data segments.This value will be mapped to the RPH value in TravelRefNumber of the SeatMapRequest element

Parameters:
travelerRefNumber -

getGenderGroup

public GenderGroup getGenderGroup()
Get the 'GenderGroup' attributeGroup value.

Returns:
value

setGenderGroup

public void setGenderGroup(GenderGroup genderGroup)
Set the 'GenderGroup' attributeGroup value.

Parameters:
genderGroup -

getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -

getBirthDate

public java.sql.Date getBirthDate()
Get the 'BirthDate' attribute value.

Returns:
value

setBirthDate

public void setBirthDate(java.sql.Date birthDate)
Set the 'BirthDate' attribute value.

Parameters:
birthDate -

getCurrencyCode

public java.lang.String getCurrencyCode()
Get the 'CurrencyCode' attribute value.

Returns:
value

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Set the 'CurrencyCode' attribute value.

Parameters:
currencyCode -

getPassengerTypeCode

public java.lang.String getPassengerTypeCode()
Get the 'PassengerTypeCode' attribute value.

Returns:
value

setPassengerTypeCode

public void setPassengerTypeCode(java.lang.String passengerTypeCode)
Set the 'PassengerTypeCode' attribute value.

Parameters:
passengerTypeCode -

getAccompaniedByInfant

public java.lang.Boolean getAccompaniedByInfant()
Get the 'AccompaniedByInfant' attribute value. Indicates if an infant accompanying a traveler is with or without a seat.

Returns:
value

setAccompaniedByInfant

public void setAccompaniedByInfant(java.lang.Boolean accompaniedByInfant)
Set the 'AccompaniedByInfant' attribute value. Indicates if an infant accompanying a traveler is with or without a seat.

Parameters:
accompaniedByInfant -