org.ota.air
Class TravelerInfoSummary.AirTravelerAvail

java.lang.Object
  extended by org.ota.air.TravelerInfoSummary.AirTravelerAvail
Enclosing class:
TravelerInfoSummary

public static class TravelerInfoSummary.AirTravelerAvail
extends java.lang.Object

Specifies passenger numbers and types. 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" type="ns:TravelerInformationType" name="AirTravelerAvail" minOccurs="0" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TravelerInformationType">
   <xs:sequence>
     <xs:element type="ns:PassengerTypeQuantityType" name="PassengerTypeQuantity" maxOccurs="10"/>
     <xs:element type="ns:AirTravelerType" name="AirTraveler" minOccurs="0"/>
   </xs:sequence>
 </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>
 


Constructor Summary
TravelerInfoSummary.AirTravelerAvail()
           
 
Method Summary
 void addTravelerCountGroup(TravelerCountGroup item)
          Add a 'PassengerTypeQuantity' element item.
 void clearTravelerCountGroups()
          Remove all 'PassengerTypeQuantity' element items.
 AirTraveler getAirTraveler()
          Get the 'AirTraveler' element value.
 TravelerCountGroup getTravelerCountGroup(int index)
          Get 'PassengerTypeQuantity' element item by position.
 java.util.List<TravelerCountGroup> getTravelerCountGroups()
          Get the list of 'PassengerTypeQuantity' element items.
 void setAirTraveler(AirTraveler airTraveler)
          Set the 'AirTraveler' element value.
 void setTravelerCountGroups(java.util.List<TravelerCountGroup> list)
          Set the list of 'PassengerTypeQuantity' element items.
 int sizeTravelerCountGroups()
          Get the number of 'PassengerTypeQuantity' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TravelerInfoSummary.AirTravelerAvail

public TravelerInfoSummary.AirTravelerAvail()
Method Detail

getTravelerCountGroups

public java.util.List<TravelerCountGroup> getTravelerCountGroups()
Get the list of 'PassengerTypeQuantity' element items. Specify number of passengers using Passenger Type Codes

Returns:
list

setTravelerCountGroups

public void setTravelerCountGroups(java.util.List<TravelerCountGroup> list)
Set the list of 'PassengerTypeQuantity' element items. Specify number of passengers using Passenger Type Codes

Parameters:
list -

sizeTravelerCountGroups

public int sizeTravelerCountGroups()
Get the number of 'PassengerTypeQuantity' element items.

Returns:
count

addTravelerCountGroup

public void addTravelerCountGroup(TravelerCountGroup item)
Add a 'PassengerTypeQuantity' element item.

Parameters:
item -

getTravelerCountGroup

public TravelerCountGroup getTravelerCountGroup(int index)
Get 'PassengerTypeQuantity' element item by position.

Parameters:
index -
Returns:
item

clearTravelerCountGroups

public void clearTravelerCountGroups()
Remove all 'PassengerTypeQuantity' element items.


getAirTraveler

public AirTraveler getAirTraveler()
Get the 'AirTraveler' element value. Information profiling 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.

Returns:
value

setAirTraveler

public void setAirTraveler(AirTraveler airTraveler)
Set the 'AirTraveler' element value. Information profiling 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.

Parameters:
airTraveler -