org.ota.air
Class AirItinerary.OriginDestinationOption.FlightSegment

java.lang.Object
  extended by org.ota.shared.FlightSegmentBase
      extended by org.ota.air.FlightSegment
          extended by org.ota.air.BookFlightSegment
              extended by org.ota.air.AirItinerary.OriginDestinationOption.FlightSegment
Enclosing class:
AirItinerary.OriginDestinationOption

public static class AirItinerary.OriginDestinationOption.FlightSegment
extends BookFlightSegment

A container for necessary data to describe one or more legs of a single 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="FlightSegment" maxOccurs="8">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:BookFlightSegmentType">
         <xs:sequence>
           <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <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.air.BookFlightSegment
BookFlightSegment.BookingClassAvails, BookFlightSegment.ETicketEligibility
 
Nested classes/interfaces inherited from class org.ota.air.FlightSegment
FlightSegment.MarketingAirline
 
Constructor Summary
AirItinerary.OriginDestinationOption.FlightSegment()
           
 
Method Summary
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 
Methods inherited from class org.ota.air.BookFlightSegment
addBookingClassAvail, addComment, addStopLocation, clearBookingClassAvails, clearComments, clearStopLocations, getBookingClassAvail, getBookingClassAvails, getComment, getComments, getConnection, getDateChangeNbr, getDepartureDay, getDistance, getETicketEligibility1, getLineNumber, getMarriageGrp, getMealCode, getNumberInParty, getParticipationLevelCode, getResBookDesigCode, getStatus, getStopLocation, getStopLocations, getStopoverInd, getValidConnectionInd, setBookingClassAvails, setComments, setConnection, setDateChangeNbr, setDepartureDay, setDistance, setETicketEligibility1, setLineNumber, setMarriageGrp, setMealCode, setNumberInParty, setParticipationLevelCode, setResBookDesigCode, setStatus, setStopLocations, setStopoverInd, setValidConnectionInd, sizeBookingClassAvails, sizeComments, sizeStopLocations
 
Methods inherited from class org.ota.air.FlightSegment
getFlightNumber, getMarketingAirline, getTourOperatorFlightID, setFlightNumber, setMarketingAirline, setTourOperatorFlightID
 
Methods inherited from class org.ota.shared.FlightSegmentBase
addEquipment, clearEquipments, getArrivalAirport, getArrivalDateTime, getDepartureAirport, getDepartureDateTime, getEquipment, getEquipments, getInfoSource, getOperatingAirline, getRPH, getStopQuantity, setArrivalAirport, setArrivalDateTime, setDepartureAirport, setDepartureDateTime, setEquipments, setInfoSource, setOperatingAirline, setRPH, setStopQuantity, sizeEquipments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirItinerary.OriginDestinationOption.FlightSegment

public AirItinerary.OriginDestinationOption.FlightSegment()
Method Detail

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 -