org.ota.pkg
Class AvailRQ.Routing

java.lang.Object
  extended by org.ota.pkg.AvailRQ.Routing
Enclosing class:
AvailRQ

public static class AvailRQ.Routing
extends java.lang.Object

The departure and arrival points for outward and/or return travel. Generally used when the TravelCode represents a flight which has more than one domestic leg (e.g. Glasgow-Manchester-Palma) 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="Routing" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:LocationType" name="Departure"/>
       <xs:element type="ns:LocationType" name="Arrival"/>
     </xs:sequence>
     <xs:attribute type="ns:AirTripType" name="Direction"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRQ.Routing()
           
 
Method Summary
 Location getArrival()
          Get the 'Arrival' element value.
 Location getDeparture()
          Get the 'Departure' element value.
 AirTrip getDirection()
          Get the 'Direction' attribute value.
 void setArrival(Location arrival)
          Set the 'Arrival' element value.
 void setDeparture(Location departure)
          Set the 'Departure' element value.
 void setDirection(AirTrip direction)
          Set the 'Direction' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRQ.Routing

public AvailRQ.Routing()
Method Detail

getDeparture

public Location getDeparture()
Get the 'Departure' element value. The departure location for the travel route.

Returns:
value

setDeparture

public void setDeparture(Location departure)
Set the 'Departure' element value. The departure location for the travel route.

Parameters:
departure -

getArrival

public Location getArrival()
Get the 'Arrival' element value. The arrival location for the travel route.

Returns:
value

setArrival

public void setArrival(Location arrival)
Set the 'Arrival' element value. The arrival location for the travel route.

Parameters:
arrival -

getDirection

public AirTrip getDirection()
Get the 'Direction' attribute value.

Returns:
value

setDirection

public void setDirection(AirTrip direction)
Set the 'Direction' attribute value.

Parameters:
direction -