org.ota.profile
Class Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref
Enclosing class:
Profile.PrefCollections.PrefCollection.AirlinePref

public static class Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref
extends java.lang.Object

Provides the contract code for a negotiated fare. 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="TourCodePref" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:choice>
       <xs:element name="TourCodeInfo">
         <!-- Reference to inner class TourCodeInfo -->
       </xs:element>
       <xs:element name="StaffTourCodeInfo">
         <!-- Reference to inner class StaffTourCodeInfo -->
       </xs:element>
     </xs:choice>
     <xs:attribute type="xs:string" use="optional" name="PassengerTypeCode"/>
     <xs:attribute type="xs:string" use="optional" name="AirlineVendorPrefRPH"/>
     <xs:attribute type="ns:TransferActionType" use="optional" name="TransferAction"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.StaffTourCodeInfo
          Provides a tour code for airline staff.
static class Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo
          Provides the tour code.
 
Constructor Summary
Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 java.lang.String getAirlineVendorPrefRPH()
          Get the 'AirlineVendorPrefRPH' attribute value.
 java.lang.String getPassengerTypeCode()
          Get the 'PassengerTypeCode' attribute value.
 Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.StaffTourCodeInfo getStaffTourCodeInfo()
          Get the 'StaffTourCodeInfo' element value.
 Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo getTourCodeInfo()
          Get the 'TourCodeInfo' element value.
 TransferAction getTransferAction()
          Get the 'TransferAction' attribute value.
 boolean ifStaffTourCodeInfo()
          Check if StaffTourCodeInfo is current selection for choice.
 boolean ifTourCodeInfo()
          Check if TourCodeInfo is current selection for choice.
 void setAirlineVendorPrefRPH(java.lang.String airlineVendorPrefRPH)
          Set the 'AirlineVendorPrefRPH' attribute value.
 void setPassengerTypeCode(java.lang.String passengerTypeCode)
          Set the 'PassengerTypeCode' attribute value.
 void setStaffTourCodeInfo(Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.StaffTourCodeInfo staffTourCodeInfo)
          Set the 'StaffTourCodeInfo' element value.
 void setTourCodeInfo(Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo tourCodeInfo)
          Set the 'TourCodeInfo' element value.
 void setTransferAction(TransferAction transferAction)
          Set the 'TransferAction' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref

public Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifTourCodeInfo

public boolean ifTourCodeInfo()
Check if TourCodeInfo is current selection for choice.

Returns:
true if selection, false if not

getTourCodeInfo

public Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo getTourCodeInfo()
Get the 'TourCodeInfo' element value.

Returns:
value

setTourCodeInfo

public void setTourCodeInfo(Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.TourCodeInfo tourCodeInfo)
Set the 'TourCodeInfo' element value.

Parameters:
tourCodeInfo -

ifStaffTourCodeInfo

public boolean ifStaffTourCodeInfo()
Check if StaffTourCodeInfo is current selection for choice.

Returns:
true if selection, false if not

getStaffTourCodeInfo

public Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.StaffTourCodeInfo getStaffTourCodeInfo()
Get the 'StaffTourCodeInfo' element value.

Returns:
value

setStaffTourCodeInfo

public void setStaffTourCodeInfo(Profile.PrefCollections.PrefCollection.AirlinePref.TourCodePref.StaffTourCodeInfo staffTourCodeInfo)
Set the 'StaffTourCodeInfo' element value.

Parameters:
staffTourCodeInfo -

getPassengerTypeCode

public java.lang.String getPassengerTypeCode()
Get the 'PassengerTypeCode' attribute value. Code used to indicate the type of traveler (e.g., ADT, CHD, INF, GRP).

Returns:
value

setPassengerTypeCode

public void setPassengerTypeCode(java.lang.String passengerTypeCode)
Set the 'PassengerTypeCode' attribute value. Code used to indicate the type of traveler (e.g., ADT, CHD, INF, GRP).

Parameters:
passengerTypeCode -

getAirlineVendorPrefRPH

public java.lang.String getAirlineVendorPrefRPH()
Get the 'AirlineVendorPrefRPH' attribute value. Reference to one or more airlines in AirlinePrefType/VendorPref.

Returns:
value

setAirlineVendorPrefRPH

public void setAirlineVendorPrefRPH(java.lang.String airlineVendorPrefRPH)
Set the 'AirlineVendorPrefRPH' attribute value. Reference to one or more airlines in AirlinePrefType/VendorPref.

Parameters:
airlineVendorPrefRPH -

getTransferAction

public TransferAction getTransferAction()
Get the 'TransferAction' attribute value. Indicates under what conditions this element will be transfered to the booking.

Returns:
value

setTransferAction

public void setTransferAction(TransferAction transferAction)
Set the 'TransferAction' attribute value. Indicates under what conditions this element will be transfered to the booking.

Parameters:
transferAction -