org.ota.air
Class FlifoRQ

java.lang.Object
  extended by org.ota.air.FlifoRQ

public class FlifoRQ
extends java.lang.Object

Retrieve real-time flight departure, arrival and gate information for a particular flight, including actual as well as scheduled departure and arrival times. 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="OTA_AirFlifoRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:CompanyNameType" name="Airline" minOccurs="0"/>
       <xs:element type="xs:string" name="FlightNumber" minOccurs="0"/>
       <xs:element type="xs:date" name="DepartureDate" minOccurs="0"/>
       <xs:element type="ns:LocationType" name="DepartureAirport" minOccurs="0"/>
       <xs:element type="ns:LocationType" name="ArrivalAirport" minOccurs="0"/>
       <xs:element name="FlightSegment" minOccurs="0" maxOccurs="10">
         <!-- Reference to inner class FlightSegment -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FlifoRQ.FlightSegment
          The flight for which flifo information is being requested.
 
Constructor Summary
FlifoRQ()
           
 
Method Summary
 void addFlightSegment(FlifoRQ.FlightSegment item)
          Add a 'FlightSegment' element item.
 void clearFlightSegments()
          Remove all 'FlightSegment' element items.
 CompanyName getAirline()
          Get the 'Airline' element value.
 Location getArrivalAirport()
          Get the 'ArrivalAirport' element value.
 Location getDepartureAirport()
          Get the 'DepartureAirport' element value.
 java.sql.Date getDepartureDate()
          Get the 'DepartureDate' element value.
 java.lang.String getFlightNumber()
          Get the 'FlightNumber' element value.
 FlifoRQ.FlightSegment getFlightSegment(int index)
          Get 'FlightSegment' element item by position.
 java.util.List<FlifoRQ.FlightSegment> getFlightSegments()
          Get the list of 'FlightSegment' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 void setAirline(CompanyName airline)
          Set the 'Airline' element value.
 void setArrivalAirport(Location arrivalAirport)
          Set the 'ArrivalAirport' element value.
 void setDepartureAirport(Location departureAirport)
          Set the 'DepartureAirport' element value.
 void setDepartureDate(java.sql.Date departureDate)
          Set the 'DepartureDate' element value.
 void setFlightNumber(java.lang.String flightNumber)
          Set the 'FlightNumber' element value.
 void setFlightSegments(java.util.List<FlifoRQ.FlightSegment> list)
          Set the list of 'FlightSegment' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 int sizeFlightSegments()
          Get the number of 'FlightSegment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlifoRQ

public FlifoRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getAirline

public CompanyName getAirline()
Get the 'Airline' element value. Specify airline to request FLIFO details.

Returns:
value

setAirline

public void setAirline(CompanyName airline)
Set the 'Airline' element value. Specify airline to request FLIFO details.

Parameters:
airline -

getFlightNumber

public java.lang.String getFlightNumber()
Get the 'FlightNumber' element value. Specific flight number to request details for. Requires that Airline is also supplied.

Returns:
value

setFlightNumber

public void setFlightNumber(java.lang.String flightNumber)
Set the 'FlightNumber' element value. Specific flight number to request details for. Requires that Airline is also supplied.

Parameters:
flightNumber -

getDepartureDate

public java.sql.Date getDepartureDate()
Get the 'DepartureDate' element value. Date of departure for flight information.

Returns:
value

setDepartureDate

public void setDepartureDate(java.sql.Date departureDate)
Set the 'DepartureDate' element value. Date of departure for flight information.

Parameters:
departureDate -

getDepartureAirport

public Location getDepartureAirport()
Get the 'DepartureAirport' element value. Specifies the departure location.

Returns:
value

setDepartureAirport

public void setDepartureAirport(Location departureAirport)
Set the 'DepartureAirport' element value. Specifies the departure location.

Parameters:
departureAirport -

getArrivalAirport

public Location getArrivalAirport()
Get the 'ArrivalAirport' element value. Specifies the arrival location.

Returns:
value

setArrivalAirport

public void setArrivalAirport(Location arrivalAirport)
Set the 'ArrivalAirport' element value. Specifies the arrival location.

Parameters:
arrivalAirport -

getFlightSegments

public java.util.List<FlifoRQ.FlightSegment> getFlightSegments()
Get the list of 'FlightSegment' element items.

Returns:
list

setFlightSegments

public void setFlightSegments(java.util.List<FlifoRQ.FlightSegment> list)
Set the list of 'FlightSegment' element items.

Parameters:
list -

sizeFlightSegments

public int sizeFlightSegments()
Get the number of 'FlightSegment' element items.

Returns:
count

addFlightSegment

public void addFlightSegment(FlifoRQ.FlightSegment item)
Add a 'FlightSegment' element item.

Parameters:
item -

getFlightSegment

public FlifoRQ.FlightSegment getFlightSegment(int index)
Get 'FlightSegment' element item by position.

Parameters:
index -
Returns:
item

clearFlightSegments

public void clearFlightSegments()
Remove all 'FlightSegment' element items.


getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -