|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.SeatMapRQ.AirTravelers.AirTraveler
public static class SeatMapRQ.AirTravelers.AirTraveler
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 |
|---|
public SeatMapRQ.AirTravelers.AirTraveler()
| Method Detail |
|---|
public PersonName getPersonName()
public void setPersonName(PersonName personName)
personName - public java.util.List<CustomerLoyaltyGroup> getCustLoyalties()
public void setCustLoyalties(java.util.List<CustomerLoyaltyGroup> list)
list - public int sizeCustLoyalties()
public void addCustLoyalty(CustomerLoyaltyGroup item)
item - public CustomerLoyaltyGroup getCustLoyalty(int index)
index -
public void clearCustLoyalties()
public TravelerCountGroup getTravelerCountGroup()
public void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
travelerCountGroup - public TravelerRefNumberGroup getTravelerRefNumber()
public void setTravelerRefNumber(TravelerRefNumberGroup travelerRefNumber)
travelerRefNumber - 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 | ||||||