org.ota.cruise
Class PkgAvailRQ.GuestInfos.GuestInfo

java.lang.Object
  extended by org.ota.cruise.PkgAvailRQ.GuestInfos.GuestInfo
Enclosing class:
PkgAvailRQ.GuestInfos

public static class PkgAvailRQ.GuestInfos.GuestInfo
extends java.lang.Object

Specifies the guest information. 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="GuestInfo" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="SelectedFareCode" minOccurs="0" maxOccurs="2">
         <xs:complexType>
           <xs:attributeGroup ref="ns:FareGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:GuestTransportationType" name="GuestTransportation" minOccurs="0" maxOccurs="2"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
PkgAvailRQ.GuestInfos.GuestInfo()
           
 
Method Summary
 void addGuestTransportation(GuestTransportation item)
          Add a 'GuestTransportation' element item.
 void addSelectedFareCode(FareGroup item)
          Add a 'SelectedFareCode' element item.
 void clearGuestTransportations()
          Remove all 'GuestTransportation' element items.
 void clearSelectedFareCodes()
          Remove all 'SelectedFareCode' element items.
 GuestTransportation getGuestTransportation(int index)
          Get 'GuestTransportation' element item by position.
 java.util.List<GuestTransportation> getGuestTransportations()
          Get the list of 'GuestTransportation' element items.
 FareGroup getSelectedFareCode(int index)
          Get 'SelectedFareCode' element item by position.
 java.util.List<FareGroup> getSelectedFareCodes()
          Get the list of 'SelectedFareCode' element items.
 void setGuestTransportations(java.util.List<GuestTransportation> list)
          Set the list of 'GuestTransportation' element items.
 void setSelectedFareCodes(java.util.List<FareGroup> list)
          Set the list of 'SelectedFareCode' element items.
 int sizeGuestTransportations()
          Get the number of 'GuestTransportation' element items.
 int sizeSelectedFareCodes()
          Get the number of 'SelectedFareCode' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkgAvailRQ.GuestInfos.GuestInfo

public PkgAvailRQ.GuestInfos.GuestInfo()
Method Detail

getSelectedFareCodes

public java.util.List<FareGroup> getSelectedFareCodes()
Get the list of 'SelectedFareCode' element items. Specifies the fare code and the group code if any. Fare codes are specific to cruise lines.

Returns:
list

setSelectedFareCodes

public void setSelectedFareCodes(java.util.List<FareGroup> list)
Set the list of 'SelectedFareCode' element items. Specifies the fare code and the group code if any. Fare codes are specific to cruise lines.

Parameters:
list -

sizeSelectedFareCodes

public int sizeSelectedFareCodes()
Get the number of 'SelectedFareCode' element items.

Returns:
count

addSelectedFareCode

public void addSelectedFareCode(FareGroup item)
Add a 'SelectedFareCode' element item.

Parameters:
item -

getSelectedFareCode

public FareGroup getSelectedFareCode(int index)
Get 'SelectedFareCode' element item by position.

Parameters:
index -
Returns:
item

clearSelectedFareCodes

public void clearSelectedFareCodes()
Remove all 'SelectedFareCode' element items.


getGuestTransportations

public java.util.List<GuestTransportation> getGuestTransportations()
Get the list of 'GuestTransportation' element items. Selected guest mode of transportation.

Returns:
list

setGuestTransportations

public void setGuestTransportations(java.util.List<GuestTransportation> list)
Set the list of 'GuestTransportation' element items. Selected guest mode of transportation.

Parameters:
list -

sizeGuestTransportations

public int sizeGuestTransportations()
Get the number of 'GuestTransportation' element items.

Returns:
count

addGuestTransportation

public void addGuestTransportation(GuestTransportation item)
Add a 'GuestTransportation' element item.

Parameters:
item -

getGuestTransportation

public GuestTransportation getGuestTransportation(int index)
Get 'GuestTransportation' element item by position.

Parameters:
index -
Returns:
item

clearGuestTransportations

public void clearGuestTransportations()
Remove all 'GuestTransportation' element items.