|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ota.pkg.PkgPassengerListItem
public class PkgPassengerListItem
Details of a passenger or of a quantity of generic passengers e.g. 2 children aged 5. 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="PkgPassengerListItem"> <xs:sequence> <xs:element type="ns:PersonNameType" name="Name" minOccurs="0"/> <xs:element name="SpecialNeed" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class SpecialNeed --> </xs:element> <xs:element type="ns:DocumentType" name="PassportInformation" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="RPH"/> <xs:attribute type="xs:string" use="optional" name="InsuranceRPH"/> <xs:attributeGroup ref="ns:GenderGroup"/> <xs:attribute type="xs:string" use="optional" name="Nationality"/> <xs:attributeGroup ref="ns:BirthDateGroup"/> <xs:attribute type="xs:boolean" use="optional" name="LeadCustomerInd"/> <xs:attributeGroup ref="ns:TravelerCountGroup"/> </xs:complexType> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BirthDateGroup"> <xs:attribute type="xs:date" use="optional" name="BirthDate"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
PkgPassengerListItem.SpecialNeed
A special requirement e.g. |
Constructor Summary | |
---|---|
PkgPassengerListItem()
|
Method Summary | |
---|---|
void |
addSpecialNeed(PkgPassengerListItem.SpecialNeed item)
Add a 'SpecialNeed' element item. |
void |
clearSpecialNeeds()
Remove all 'SpecialNeed' element items. |
java.sql.Date |
getBirthDate()
Get the 'BirthDate' attribute value. |
GenderGroup |
getGenderGroup()
Get the 'GenderGroup' attributeGroup value. |
java.lang.String |
getInsuranceRPH()
Get the 'InsuranceRPH' attribute value. |
java.lang.Boolean |
getLeadCustomerInd()
Get the 'LeadCustomerInd' attribute value. |
PersonName |
getName()
Get the 'Name' element value. |
java.lang.String |
getNationality()
Get the 'Nationality' attribute value. |
Document |
getPassportInformation()
Get the 'PassportInformation' element value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
PkgPassengerListItem.SpecialNeed |
getSpecialNeed(int index)
Get 'SpecialNeed' element item by position. |
java.util.List<PkgPassengerListItem.SpecialNeed> |
getSpecialNeeds()
Get the list of 'SpecialNeed' element items. |
TravelerCountGroup |
getTravelerCountGroup()
Get the 'TravelerCountGroup' attributeGroup value. |
void |
setBirthDate(java.sql.Date birthDate)
Set the 'BirthDate' attribute value. |
void |
setGenderGroup(GenderGroup genderGroup)
Set the 'GenderGroup' attributeGroup value. |
void |
setInsuranceRPH(java.lang.String insuranceRPH)
Set the 'InsuranceRPH' attribute value. |
void |
setLeadCustomerInd(java.lang.Boolean leadCustomerInd)
Set the 'LeadCustomerInd' attribute value. |
void |
setName(PersonName name)
Set the 'Name' element value. |
void |
setNationality(java.lang.String nationality)
Set the 'Nationality' attribute value. |
void |
setPassportInformation(Document passportInformation)
Set the 'PassportInformation' element value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setSpecialNeeds(java.util.List<PkgPassengerListItem.SpecialNeed> list)
Set the list of 'SpecialNeed' element items. |
void |
setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
Set the 'TravelerCountGroup' attributeGroup value. |
int |
sizeSpecialNeeds()
Get the number of 'SpecialNeed' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PkgPassengerListItem()
Method Detail |
---|
public PersonName getName()
public void setName(PersonName name)
name
- public java.util.List<PkgPassengerListItem.SpecialNeed> getSpecialNeeds()
public void setSpecialNeeds(java.util.List<PkgPassengerListItem.SpecialNeed> list)
list
- public int sizeSpecialNeeds()
public void addSpecialNeed(PkgPassengerListItem.SpecialNeed item)
item
- public PkgPassengerListItem.SpecialNeed getSpecialNeed(int index)
index
-
public void clearSpecialNeeds()
public Document getPassportInformation()
public void setPassportInformation(Document passportInformation)
passportInformation
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
- public java.lang.String getInsuranceRPH()
public void setInsuranceRPH(java.lang.String insuranceRPH)
insuranceRPH
- public GenderGroup getGenderGroup()
public void setGenderGroup(GenderGroup genderGroup)
genderGroup
- public java.lang.String getNationality()
public void setNationality(java.lang.String nationality)
nationality
- public java.sql.Date getBirthDate()
public void setBirthDate(java.sql.Date birthDate)
birthDate
- public java.lang.Boolean getLeadCustomerInd()
public void setLeadCustomerInd(java.lang.Boolean leadCustomerInd)
leadCustomerInd
- public TravelerCountGroup getTravelerCountGroup()
public void setTravelerCountGroup(TravelerCountGroup travelerCountGroup)
travelerCountGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |