|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.AirTraveler
public class AirTraveler
Information about the person traveling. Gender - the gender of the customer, if needed. BirthDate - Date of Birth. Currency - the preferred currency in which monetary amounts should be returned. 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="AirTravelerType"> <xs:sequence> <xs:element name="ProfileRef" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element type="ns:UniqueID_Type" name="UniqueID"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0"/> <xs:element name="Telephone" minOccurs="0" maxOccurs="20"> <!-- Reference to inner class Telephone --> </xs:element> <xs:element name="Email" minOccurs="0" maxOccurs="3"> <!-- Reference to inner class Email --> </xs:element> <xs:element name="Address" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Address --> </xs:element> <xs:element name="CustLoyalty" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class CustLoyalty --> </xs:element> <xs:element name="Document" minOccurs="0" maxOccurs="10"> <!-- Reference to inner class Document --> </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:element name="FlightSegmentRPHs" minOccurs="0"> <!-- Reference to inner class FlightSegmentRPHs --> </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: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>
Nested Class Summary | |
---|---|
static class |
AirTraveler.Address
Address information of the person traveling. |
static class |
AirTraveler.CustLoyalty
Identifies the loyalty program(s) that the customer belongs to and associated information. |
static class |
AirTraveler.Document
Official travel document information associated with the person traveling. |
static class |
AirTraveler.Email
Email address of the person traveling. |
static class |
AirTraveler.FlightSegmentRPHs
Reference pointers to flight segments Schema fragment(s) for this class: |
static class |
AirTraveler.Telephone
Telephone number for the person traveling. |
Constructor Summary | |
---|---|
AirTraveler()
|
Method Summary | |
---|---|
void |
addAddress(AirTraveler.Address item)
Add a 'Address' element item. |
void |
addCustLoyalty(AirTraveler.CustLoyalty item)
Add a 'CustLoyalty' element item. |
void |
addDocument(AirTraveler.Document item)
Add a 'Document' element item. |
void |
addEmail(AirTraveler.Email item)
Add a 'Email' element item. |
void |
addTelephone(AirTraveler.Telephone item)
Add a 'Telephone' element item. |
void |
clearAddresses()
Remove all 'Address' element items. |
void |
clearCustLoyalties()
Remove all 'CustLoyalty' element items. |
void |
clearDocuments()
Remove all 'Document' element items. |
void |
clearEmails()
Remove all 'Email' element items. |
void |
clearTelephones()
Remove all 'Telephone' element items. |
java.lang.Boolean |
getAccompaniedByInfant()
Get the 'AccompaniedByInfant' attribute value. |
AirTraveler.Address |
getAddress(int index)
Get 'Address' element item by position. |
java.util.List<AirTraveler.Address> |
getAddresses()
Get the list of 'Address' element items. |
java.sql.Date |
getBirthDate()
Get the 'BirthDate' attribute value. |
java.lang.String |
getCurrencyCode()
Get the 'CurrencyCode' attribute value. |
java.util.List<AirTraveler.CustLoyalty> |
getCustLoyalties()
Get the list of 'CustLoyalty' element items. |
AirTraveler.CustLoyalty |
getCustLoyalty(int index)
Get 'CustLoyalty' element item by position. |
AirTraveler.Document |
getDocument(int index)
Get 'Document' element item by position. |
java.util.List<AirTraveler.Document> |
getDocuments()
Get the list of 'Document' element items. |
AirTraveler.Email |
getEmail(int index)
Get 'Email' element item by position. |
java.util.List<AirTraveler.Email> |
getEmails()
Get the list of 'Email' element items. |
AirTraveler.FlightSegmentRPHs |
getFlightSegmentRPHs()
Get the 'FlightSegmentRPHs' element value. |
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. |
AirTraveler.Telephone |
getTelephone(int index)
Get 'Telephone' element item by position. |
java.util.List<AirTraveler.Telephone> |
getTelephones()
Get the list of 'Telephone' element items. |
TravelerCountGroup |
getTravelerCountGroup()
Get the 'TravelerCountGroup' attributeGroup value. |
TravelerRefNumberGroup |
getTravelerRefNumber()
Get the 'TravelerRefNumberGroup' attributeGroup value. |
UniqueID |
getUniqueID()
Get the 'UniqueID' element value. |
void |
setAccompaniedByInfant(java.lang.Boolean accompaniedByInfant)
Set the 'AccompaniedByInfant' attribute value. |
void |
setAddresses(java.util.List<AirTraveler.Address> list)
Set the list of 'Address' element items. |
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<AirTraveler.CustLoyalty> list)
Set the list of 'CustLoyalty' element items. |
void |
setDocuments(java.util.List<AirTraveler.Document> list)
Set the list of 'Document' element items. |
void |
setEmails(java.util.List<AirTraveler.Email> list)
Set the list of 'Email' element items. |
void |
setFlightSegmentRPHs(AirTraveler.FlightSegmentRPHs flightSegmentRPHs)
Set the 'FlightSegmentRPHs' element value. |
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 |
setTelephones(java.util.List<AirTraveler.Telephone> list)
Set the list of 'Telephone' element items. |
void |
setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
Set the 'TravelerCountGroup' attributeGroup value. |
void |
setTravelerRefNumber(TravelerRefNumberGroup travelerRefNumber)
Set the 'TravelerRefNumberGroup' attributeGroup value. |
void |
setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. |
int |
sizeAddresses()
Get the number of 'Address' element items. |
int |
sizeCustLoyalties()
Get the number of 'CustLoyalty' element items. |
int |
sizeDocuments()
Get the number of 'Document' element items. |
int |
sizeEmails()
Get the number of 'Email' element items. |
int |
sizeTelephones()
Get the number of 'Telephone' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AirTraveler()
Method Detail |
---|
public UniqueID getUniqueID()
public void setUniqueID(UniqueID uniqueID)
uniqueID
- public PersonName getPersonName()
public void setPersonName(PersonName personName)
personName
- public java.util.List<AirTraveler.Telephone> getTelephones()
public void setTelephones(java.util.List<AirTraveler.Telephone> list)
list
- public int sizeTelephones()
public void addTelephone(AirTraveler.Telephone item)
item
- public AirTraveler.Telephone getTelephone(int index)
index
-
public void clearTelephones()
public java.util.List<AirTraveler.Email> getEmails()
public void setEmails(java.util.List<AirTraveler.Email> list)
list
- public int sizeEmails()
public void addEmail(AirTraveler.Email item)
item
- public AirTraveler.Email getEmail(int index)
index
-
public void clearEmails()
public java.util.List<AirTraveler.Address> getAddresses()
public void setAddresses(java.util.List<AirTraveler.Address> list)
list
- public int sizeAddresses()
public void addAddress(AirTraveler.Address item)
item
- public AirTraveler.Address getAddress(int index)
index
-
public void clearAddresses()
public java.util.List<AirTraveler.CustLoyalty> getCustLoyalties()
public void setCustLoyalties(java.util.List<AirTraveler.CustLoyalty> list)
list
- public int sizeCustLoyalties()
public void addCustLoyalty(AirTraveler.CustLoyalty item)
item
- public AirTraveler.CustLoyalty getCustLoyalty(int index)
index
-
public void clearCustLoyalties()
public java.util.List<AirTraveler.Document> getDocuments()
public void setDocuments(java.util.List<AirTraveler.Document> list)
list
- public int sizeDocuments()
public void addDocument(AirTraveler.Document item)
item
- public AirTraveler.Document getDocument(int index)
index
-
public void clearDocuments()
public TravelerCountGroup getTravelerCountGroup()
public void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
travelerCountGroup
- public TravelerRefNumberGroup getTravelerRefNumber()
public void setTravelerRefNumber(TravelerRefNumberGroup travelerRefNumber)
travelerRefNumber
- public AirTraveler.FlightSegmentRPHs getFlightSegmentRPHs()
public void setFlightSegmentRPHs(AirTraveler.FlightSegmentRPHs flightSegmentRPHs)
flightSegmentRPHs
- public GenderGroup getGenderGroup()
public void setGenderGroup(GenderGroup genderGroup)
genderGroup
- public PrivacyGroup getPrivacyGroup()
public void setPrivacyGroup(PrivacyGroup privacyGroup)
privacyGroup
- public java.sql.Date getBirthDate()
public void setBirthDate(java.sql.Date birthDate)
birthDate
- public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- public java.lang.String getPassengerTypeCode()
public void setPassengerTypeCode(java.lang.String passengerTypeCode)
passengerTypeCode
- public java.lang.Boolean getAccompaniedByInfant()
public void setAccompaniedByInfant(java.lang.Boolean accompaniedByInfant)
accompaniedByInfant
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |