org.ota.air
Class AvailRQ.OriginDestinationInformation

java.lang.Object
  extended by org.ota.shared.TravelDateTime
      extended by org.ota.shared.OriginDestinationInformation
          extended by org.ota.air.AvailRQ.OriginDestinationInformation
Enclosing class:
AvailRQ

public static class AvailRQ.OriginDestinationInformation
extends OriginDestinationInformation

Information on the locations between which availability is to be checked. 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="OriginDestinationInformation" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:OriginDestinationInformationType">
         <xs:sequence>
           <xs:element name="SpecificFlightInfo" minOccurs="0">
             <!-- Reference to inner class SpecificFlightInfo -->
           </xs:element>
           <xs:element type="ns:AirSearchPrefsType" name="TravelPreferences" minOccurs="0"/>
         </xs:sequence>
         <xs:attribute type="xs:boolean" use="optional" name="SameAirportInd"/>
         <xs:attribute type="xs:string" use="optional" name="RPH"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AvailRQ.OriginDestinationInformation.SpecificFlightInfo
          To specify a flight for this origin and destination for which availability is to be checked.
 
Nested classes/interfaces inherited from class org.ota.shared.OriginDestinationInformation
OriginDestinationInformation.ConnectionLocations
 
Constructor Summary
AvailRQ.OriginDestinationInformation()
           
 
Method Summary
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 java.lang.Boolean getSameAirportInd()
          Get the 'SameAirportInd' attribute value.
 AvailRQ.OriginDestinationInformation.SpecificFlightInfo getSpecificFlightInfo()
          Get the 'SpecificFlightInfo' element value.
 AirSearchPrefs getTravelPreferences()
          Get the 'TravelPreferences' element value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 void setSameAirportInd(java.lang.Boolean sameAirportInd)
          Set the 'SameAirportInd' attribute value.
 void setSpecificFlightInfo(AvailRQ.OriginDestinationInformation.SpecificFlightInfo specificFlightInfo)
          Set the 'SpecificFlightInfo' element value.
 void setTravelPreferences(AirSearchPrefs travelPreferences)
          Set the 'TravelPreferences' element value.
 
Methods inherited from class org.ota.shared.OriginDestinationInformation
getConnectionLocations, getDestinationLocationAlternateLocationInd, getDestinationLocationLocation, getDestinationLocationMultiAirportCityInd, getOriginLocationAlternateLocationInd, getOriginLocationLocation, getOriginLocationMultiAirportCityInd, setConnectionLocations, setDestinationLocationAlternateLocationInd, setDestinationLocationLocation, setDestinationLocationMultiAirportCityInd, setOriginLocationAlternateLocationInd, setOriginLocationLocation, setOriginLocationMultiAirportCityInd
 
Methods inherited from class org.ota.shared.TravelDateTime
clearChoiceSelect, getArrivalDateTime, getDepartureDateTime, ifArrivalDateTime, ifDepartureDateTime, setArrivalDateTime, setDepartureDateTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRQ.OriginDestinationInformation

public AvailRQ.OriginDestinationInformation()
Method Detail

getSpecificFlightInfo

public AvailRQ.OriginDestinationInformation.SpecificFlightInfo getSpecificFlightInfo()
Get the 'SpecificFlightInfo' element value.

Returns:
value

setSpecificFlightInfo

public void setSpecificFlightInfo(AvailRQ.OriginDestinationInformation.SpecificFlightInfo specificFlightInfo)
Set the 'SpecificFlightInfo' element value.

Parameters:
specificFlightInfo -

getTravelPreferences

public AirSearchPrefs getTravelPreferences()
Get the 'TravelPreferences' element value. Traveler preference information for this particular origin and destination.

Returns:
value

setTravelPreferences

public void setTravelPreferences(AirSearchPrefs travelPreferences)
Set the 'TravelPreferences' element value. Traveler preference information for this particular origin and destination.

Parameters:
travelPreferences -

getSameAirportInd

public java.lang.Boolean getSameAirportInd()
Get the 'SameAirportInd' attribute value. If true, the return departure must be from the same airport as the outbound arrival.

Returns:
value

setSameAirportInd

public void setSameAirportInd(java.lang.Boolean sameAirportInd)
Set the 'SameAirportInd' attribute value. If true, the return departure must be from the same airport as the outbound arrival.

Parameters:
sameAirportInd -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. Uniquely identifies this origin destination information.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. Uniquely identifies this origin destination information.

Parameters:
RPH -