org.ota.air
Class FlifoRS.FlightInfoDetails.FlightLegInfo.ArrivalAirport

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

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

Arrival point of flight segment. Second occurrence indicates diversion airport. 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="ArrivalAirport" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:FreeTextType" name="Comment" minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:AirportLocationGroup"/>
     <xs:attribute type="xs:boolean" use="required" name="Diversion"/>
     <xs:attribute type="xs:string" use="optional" name="BaggageClaim"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FlifoRS.FlightInfoDetails.FlightLegInfo.ArrivalAirport()
           
 
Method Summary
 void addComment(FreeText item)
          Add a 'Comment' element item.
 void clearComments()
          Remove all 'Comment' element items.
 AirportLocationGroup getAirportLocationGroup()
          Get the 'AirportLocationGroup' attributeGroup value.
 java.lang.String getBaggageClaim()
          Get the 'BaggageClaim' attribute value.
 FreeText getComment(int index)
          Get 'Comment' element item by position.
 java.util.List<FreeText> getComments()
          Get the list of 'Comment' element items.
 java.lang.Boolean getDiversion()
          Get the 'Diversion' attribute value.
 void setAirportLocationGroup(AirportLocationGroup airportLocationGroup)
          Set the 'AirportLocationGroup' attributeGroup value.
 void setBaggageClaim(java.lang.String baggageClaim)
          Set the 'BaggageClaim' attribute value.
 void setComments(java.util.List<FreeText> list)
          Set the list of 'Comment' element items.
 void setDiversion(java.lang.Boolean diversion)
          Set the 'Diversion' attribute value.
 int sizeComments()
          Get the number of 'Comment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlifoRS.FlightInfoDetails.FlightLegInfo.ArrivalAirport

public FlifoRS.FlightInfoDetails.FlightLegInfo.ArrivalAirport()
Method Detail

getComments

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

Returns:
list

setComments

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

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.


getAirportLocationGroup

public AirportLocationGroup getAirportLocationGroup()
Get the 'AirportLocationGroup' attributeGroup value.

Returns:
value

setAirportLocationGroup

public void setAirportLocationGroup(AirportLocationGroup airportLocationGroup)
Set the 'AirportLocationGroup' attributeGroup value.

Parameters:
airportLocationGroup -

getDiversion

public java.lang.Boolean getDiversion()
Get the 'Diversion' attribute value. Indicates the flight has diverted to this airport.

Returns:
value

setDiversion

public void setDiversion(java.lang.Boolean diversion)
Set the 'Diversion' attribute value. Indicates the flight has diverted to this airport.

Parameters:
diversion -

getBaggageClaim

public java.lang.String getBaggageClaim()
Get the 'BaggageClaim' attribute value. Specifies the location or carousel number for baggage from the arriving flight.

Returns:
value

setBaggageClaim

public void setBaggageClaim(java.lang.String baggageClaim)
Set the 'BaggageClaim' attribute value. Specifies the location or carousel number for baggage from the arriving flight.

Parameters:
baggageClaim -