org.ota.dynamicpkg
Class DynamicPkgAirSearch

java.lang.Object
  extended by org.ota.dynamicpkg.DynamicPkgSearch
      extended by org.ota.dynamicpkg.DynamicPkgAirSearch

public class DynamicPkgAirSearch
extends DynamicPkgSearch

A collection of air search criteria. 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="DynamicPkgAirSearchType">
   <xs:complexContent>
     <xs:extension base="ns:DynamicPkgSearchType">
       <xs:sequence>
         <xs:element type="ns:AirItineraryType" name="AirItinerary" minOccurs="0"/>
         <xs:element type="ns:OriginDestinationInformationType" name="OriginDestinationInformation" minOccurs="0" maxOccurs="5"/>
         <xs:element type="ns:SpecificFlightInfoType" name="SpecificFlightInfo" minOccurs="0"/>
         <xs:element type="ns:AirSearchPrefsType" name="TravelPreferences" minOccurs="0"/>
         <xs:element type="ns:TravelRefSummaryType" name="TravelRefSummary" minOccurs="0"/>
         <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
       </xs:sequence>
       <xs:attribute type="ns:AirComponentSearchType" use="optional" name="RequestType"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.dynamicpkg.DynamicPkgSearch
DynamicPkgSearch.PromotionInfo
 
Constructor Summary
DynamicPkgAirSearch()
           
 
Method Summary
 void addOriginDestinationInformation(OriginDestinationInformation item)
          Add a 'OriginDestinationInformation' element item.
 void clearOriginDestinationInformations()
          Remove all 'OriginDestinationInformation' element items.
 AirItinerary getAirItinerary()
          Get the 'AirItinerary' element value.
 OriginDestinationInformation getOriginDestinationInformation(int index)
          Get 'OriginDestinationInformation' element item by position.
 java.util.List<OriginDestinationInformation> getOriginDestinationInformations()
          Get the list of 'OriginDestinationInformation' element items.
 AirComponentSearch getRequest()
          Get the 'RequestType' attribute value.
 SpecificFlightInfo getSpecificFlightInfo()
          Get the 'SpecificFlightInfo' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 AirSearchPrefs getTravelPreferences()
          Get the 'TravelPreferences' element value.
 TravelRefSummary getTravelRefSummary()
          Get the 'TravelRefSummary' element value.
 void setAirItinerary(AirItinerary airItinerary)
          Set the 'AirItinerary' element value.
 void setOriginDestinationInformations(java.util.List<OriginDestinationInformation> list)
          Set the list of 'OriginDestinationInformation' element items.
 void setRequest(AirComponentSearch request)
          Set the 'RequestType' attribute value.
 void setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo)
          Set the 'SpecificFlightInfo' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setTravelPreferences(AirSearchPrefs travelPreferences)
          Set the 'TravelPreferences' element value.
 void setTravelRefSummary(TravelRefSummary travelRefSummary)
          Set the 'TravelRefSummary' element value.
 int sizeOriginDestinationInformations()
          Get the number of 'OriginDestinationInformation' element items.
 
Methods inherited from class org.ota.dynamicpkg.DynamicPkgSearch
addPromotionInfo, clearPromotionInfos, getMaxResponses, getPromotionInfo, getPromotionInfos, getSequenceNumber, setMaxResponses, setPromotionInfos, setSequenceNumber, sizePromotionInfos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicPkgAirSearch

public DynamicPkgAirSearch()
Method Detail

getAirItinerary

public AirItinerary getAirItinerary()
Get the 'AirItinerary' element value. The air itineraries to be priced.

Returns:
value

setAirItinerary

public void setAirItinerary(AirItinerary airItinerary)
Set the 'AirItinerary' element value. The air itineraries to be priced.

Parameters:
airItinerary -

getOriginDestinationInformations

public java.util.List<OriginDestinationInformation> getOriginDestinationInformations()
Get the list of 'OriginDestinationInformation' element items. Information on the locations between which availability is to be checked.

Returns:
list

setOriginDestinationInformations

public void setOriginDestinationInformations(java.util.List<OriginDestinationInformation> list)
Set the list of 'OriginDestinationInformation' element items. Information on the locations between which availability is to be checked.

Parameters:
list -

sizeOriginDestinationInformations

public int sizeOriginDestinationInformations()
Get the number of 'OriginDestinationInformation' element items.

Returns:
count

addOriginDestinationInformation

public void addOriginDestinationInformation(OriginDestinationInformation item)
Add a 'OriginDestinationInformation' element item.

Parameters:
item -

getOriginDestinationInformation

public OriginDestinationInformation getOriginDestinationInformation(int index)
Get 'OriginDestinationInformation' element item by position.

Parameters:
index -
Returns:
item

clearOriginDestinationInformations

public void clearOriginDestinationInformations()
Remove all 'OriginDestinationInformation' element items.


getSpecificFlightInfo

public SpecificFlightInfo getSpecificFlightInfo()
Get the 'SpecificFlightInfo' element value. Information used to specify a flight for which availablity is to be checked.

Returns:
value

setSpecificFlightInfo

public void setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo)
Set the 'SpecificFlightInfo' element value. Information used to specify a flight for which availablity is to be checked.

Parameters:
specificFlightInfo -

getTravelPreferences

public AirSearchPrefs getTravelPreferences()
Get the 'TravelPreferences' element value. Air Availability Request preference information.

Returns:
value

setTravelPreferences

public void setTravelPreferences(AirSearchPrefs travelPreferences)
Set the 'TravelPreferences' element value. Air Availability Request preference information.

Parameters:
travelPreferences -

getTravelRefSummary

public TravelRefSummary getTravelRefSummary()
Get the 'TravelRefSummary' element value. Used to specify passenger and fare information for which availablity is to be checked.

Returns:
value

setTravelRefSummary

public void setTravelRefSummary(TravelRefSummary travelRefSummary)
Set the 'TravelRefSummary' element value. Used to specify passenger and fare information for which availablity is to be checked.

Parameters:
travelRefSummary -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getRequest

public AirComponentSearch getRequest()
Get the 'RequestType' attribute value. The type of search.

Returns:
value

setRequest

public void setRequest(AirComponentSearch request)
Set the 'RequestType' attribute value. The type of search.

Parameters:
request -