|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.destination.Travelers.Traveler
public static class Travelers.Traveler
Contains the details of a traveler. 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="Traveler" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element type="ns:ProfileType" name="Profile" minOccurs="0"/> <xs:element name="TravelerCharacteristic" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class TravelerCharacteristic --> </xs:element> <xs:element type="ns:SpecialRequestType" name="SpecialRequests" minOccurs="0"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="RPH"/> </xs:complexType> </xs:element> <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"/>
Nested Class Summary | |
---|---|
static class |
Travelers.Traveler.TravelerCharacteristic
Used to define a traveler's physical characteristic. |
Constructor Summary | |
---|---|
Travelers.Traveler()
|
Method Summary | |
---|---|
void |
addTravelerCharacteristic(Travelers.Traveler.TravelerCharacteristic item)
Add a 'TravelerCharacteristic' element item. |
void |
clearTravelerCharacteristics()
Remove all 'TravelerCharacteristic' element items. |
Profile |
getProfile()
Get the 'Profile' element value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
SpecialRequest |
getSpecialRequests()
Get the 'SpecialRequests' element value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
Travelers.Traveler.TravelerCharacteristic |
getTravelerCharacteristic(int index)
Get 'TravelerCharacteristic' element item by position. |
java.util.List<Travelers.Traveler.TravelerCharacteristic> |
getTravelerCharacteristics()
Get the list of 'TravelerCharacteristic' element items. |
void |
setProfile(Profile profile)
Set the 'Profile' element value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setSpecialRequests(SpecialRequest specialRequests)
Set the 'SpecialRequests' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTravelerCharacteristics(java.util.List<Travelers.Traveler.TravelerCharacteristic> list)
Set the list of 'TravelerCharacteristic' element items. |
int |
sizeTravelerCharacteristics()
Get the number of 'TravelerCharacteristic' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Travelers.Traveler()
Method Detail |
---|
public Profile getProfile()
public void setProfile(Profile profile)
profile
- public java.util.List<Travelers.Traveler.TravelerCharacteristic> getTravelerCharacteristics()
public void setTravelerCharacteristics(java.util.List<Travelers.Traveler.TravelerCharacteristic> list)
list
- public int sizeTravelerCharacteristics()
public void addTravelerCharacteristic(Travelers.Traveler.TravelerCharacteristic item)
item
- public Travelers.Traveler.TravelerCharacteristic getTravelerCharacteristic(int index)
index
-
public void clearTravelerCharacteristics()
public SpecialRequest getSpecialRequests()
public void setSpecialRequests(SpecialRequest specialRequests)
specialRequests
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |