org.ota.air
Class FlifoRS.FlightInfoDetails

java.lang.Object
  extended by org.ota.air.FlifoRS.FlightInfoDetails
Enclosing class:
FlifoRS

public static class FlifoRS.FlightInfoDetails
extends java.lang.Object

A collection of flight information for a flight number. 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="FlightInfoDetails" minOccurs="0" maxOccurs="100">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="FlightLegInfo" maxOccurs="10">
         <!-- Reference to inner class FlightLegInfo -->
       </xs:element>
       <xs:element type="ns:FreeTextType" name="Comment" minOccurs="0" maxOccurs="5"/>
       <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="MessageStatus"/>
     <xs:attributeGroup ref="ns:AirDetailsRSAttributes"/>
     <xs:attribute type="xs:string" use="optional" name="FlightNumber"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FlifoRS.FlightInfoDetails.FlightLegInfo
          Information regarding each leg of the flight.
 
Constructor Summary
FlifoRS.FlightInfoDetails()
           
 
Method Summary
 void addComment(FreeText item)
          Add a 'Comment' element item.
 void addFlightLegInfo(FlifoRS.FlightInfoDetails.FlightLegInfo item)
          Add a 'FlightLegInfo' element item.
 void clearComments()
          Remove all 'Comment' element items.
 void clearFlightLegInfos()
          Remove all 'FlightLegInfo' element items.
 AirDetailsRSAttributes getAirDetailsRSAttributes()
          Get the 'AirDetailsRSAttributes' attributeGroup value.
 FreeText getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<FreeText> getComments()
          Get the list of 'Comment' element items.
 FlifoRS.FlightInfoDetails.FlightLegInfo getFlightLegInfo(int index)
          Get 'FlightLegInfo' element item by position.
 java.util.List<FlifoRS.FlightInfoDetails.FlightLegInfo> getFlightLegInfos()
          Get the list of 'FlightLegInfo' element items.
 java.lang.String getFlightNumber()
          Get the 'FlightNumber' attribute value.
 java.lang.String getMessageStatus()
          Get the 'MessageStatus' attribute value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 void setAirDetailsRSAttributes(AirDetailsRSAttributes airDetailsRSAttributes)
          Set the 'AirDetailsRSAttributes' attributeGroup value.
 void setComments(java.util.List<FreeText> list)
          Set the list of 'Comment' element items.
 void setFlightLegInfos(java.util.List<FlifoRS.FlightInfoDetails.FlightLegInfo> list)
          Set the list of 'FlightLegInfo' element items.
 void setFlightNumber(java.lang.String flightNumber)
          Set the 'FlightNumber' attribute value.
 void setMessageStatus(java.lang.String messageStatus)
          Set the 'MessageStatus' attribute value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 int sizeComments()
          Get the number of 'Comment' element items.
 int sizeFlightLegInfos()
          Get the number of 'FlightLegInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlifoRS.FlightInfoDetails

public FlifoRS.FlightInfoDetails()
Method Detail

getFlightLegInfos

public java.util.List<FlifoRS.FlightInfoDetails.FlightLegInfo> getFlightLegInfos()
Get the list of 'FlightLegInfo' element items.

Returns:
list

setFlightLegInfos

public void setFlightLegInfos(java.util.List<FlifoRS.FlightInfoDetails.FlightLegInfo> list)
Set the list of 'FlightLegInfo' element items.

Parameters:
list -

sizeFlightLegInfos

public int sizeFlightLegInfos()
Get the number of 'FlightLegInfo' element items.

Returns:
count

addFlightLegInfo

public void addFlightLegInfo(FlifoRS.FlightInfoDetails.FlightLegInfo item)
Add a 'FlightLegInfo' element item.

Parameters:
item -

getFlightLegInfo

public FlifoRS.FlightInfoDetails.FlightLegInfo getFlightLegInfo(int index)
Get 'FlightLegInfo' element item by position.

Parameters:
index -
Returns:
item

clearFlightLegInfos

public void clearFlightLegInfos()
Remove all 'FlightLegInfo' element items.


getComments

public java.util.List<FreeText> getComments()
Get the list of 'Comment' element items. Any special comments on the flight.

Returns:
list

setComments

public void setComments(java.util.List<FreeText> list)
Set the list of 'Comment' element items. Any special comments on the flight.

Parameters:
list -

sizeComments

public int sizeComments()
Get the number of 'Comment' element items.

Returns:
count

addComment

public void addComment(FreeText item)
Add a 'Comment' element item.

Parameters:
item -

getComment

public FreeText getComment(int index)
Get 'Comment' element item by position.

Parameters:
index -
Returns:
item

clearComments

public void clearComments()
Remove all 'Comment' element items.


getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. Warning(s) specifying an application error for this flight (e.g., invalid flight number).

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. Warning(s) specifying an application error for this flight (e.g., invalid flight number).

Parameters:
warnings -

getMessageStatus

public java.lang.String getMessageStatus()
Get the 'MessageStatus' attribute value. Indicates various status information about the flight such as real-time, scheduled or flight cancelled.

Returns:
value

setMessageStatus

public void setMessageStatus(java.lang.String messageStatus)
Set the 'MessageStatus' attribute value. Indicates various status information about the flight such as real-time, scheduled or flight cancelled.

Parameters:
messageStatus -

getAirDetailsRSAttributes

public AirDetailsRSAttributes getAirDetailsRSAttributes()
Get the 'AirDetailsRSAttributes' attributeGroup value.

Returns:
value

setAirDetailsRSAttributes

public void setAirDetailsRSAttributes(AirDetailsRSAttributes airDetailsRSAttributes)
Set the 'AirDetailsRSAttributes' attributeGroup value.

Parameters:
airDetailsRSAttributes -

getFlightNumber

public java.lang.String getFlightNumber()
Get the 'FlightNumber' attribute value. The flight number of the flight.

Returns:
value

setFlightNumber

public void setFlightNumber(java.lang.String flightNumber)
Set the 'FlightNumber' attribute value. The flight number of the flight.

Parameters:
flightNumber -