|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.FlightSegmentBase
org.ota.air.FlightSegment
org.ota.dynamicpkg.AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment
public static class AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment
Details of the flight option for an origin destination pair. 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:FlightSegmentType"> <xs:sequence> <xs:element name="TrafficRestrictionInfo" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class TrafficRestrictionInfo --> </xs:element> <xs:element type="ns:FreeTextType" name="Comment" minOccurs="0" maxOccurs="10"/> <xs:element type="ns:MarketingCabinType" name="MarketingCabin" minOccurs="0" maxOccurs="9"/> <xs:element name="BookingClassAvail" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class BookingClassAvail --> </xs:element> <xs:element name="StopLocation" minOccurs="0" maxOccurs="9"> <xs:complexType> <xs:attributeGroup ref="ns:LocationGroup"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="JourneyDuration"/> <xs:attributeGroup ref="ns:SmokingIndicatorGroup"/> <xs:attribute type="xs:float" use="optional" name="OnTimeRate"/> <xs:attribute type="ns:TicketType" name="Ticket"/> <xs:attribute type="xs:string" use="optional" name="ParticipationLevelCode"/> <xs:attribute type="xs:string" use="optional" name="GroundDuration"/> <xs:attribute type="xs:string" use="optional" name="AccumulatedDuration"/> <xs:attribute type="xs:int" use="optional" name="Distance"/> <xs:attribute type="xs:boolean" use="optional" name="CodeshareInd"/> <xs:attribute type="xs:boolean" use="optional" name="FlifoInd"/> <xs:attribute type="xs:string" use="optional" name="DateChangeNbr"/> <xs:attribute type="xs:int" use="optional" name="SequenceNumber"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SmokingIndicatorGroup"> <xs:attribute type="xs:boolean" use="optional" name="SmokingAllowed"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail
Booking codes available to be sold for a particular flight segment. |
static class |
AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
Traffic restriction information for a specific flight. |
Nested classes/interfaces inherited from class org.ota.air.FlightSegment |
---|
FlightSegment.MarketingAirline |
Constructor Summary | |
---|---|
AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment()
|
Method Summary | |
---|---|
void |
addBookingClassAvail(AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail item)
Add a 'BookingClassAvail' element item. |
void |
addComment(FreeText item)
Add a 'Comment' element item. |
void |
addMarketingCabin(MarketingCabin item)
Add a 'MarketingCabin' element item. |
void |
addStopLocation(LocationGroup item)
Add a 'StopLocation' element item. |
void |
addTrafficRestrictionInfo(AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo item)
Add a 'TrafficRestrictionInfo' element item. |
void |
clearBookingClassAvails()
Remove all 'BookingClassAvail' element items. |
void |
clearComments()
Remove all 'Comment' element items. |
void |
clearMarketingCabins()
Remove all 'MarketingCabin' element items. |
void |
clearStopLocations()
Remove all 'StopLocation' element items. |
void |
clearTrafficRestrictionInfos()
Remove all 'TrafficRestrictionInfo' element items. |
java.lang.String |
getAccumulatedDuration()
Get the 'AccumulatedDuration' attribute value. |
AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail |
getBookingClassAvail(int index)
Get 'BookingClassAvail' element item by position. |
java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail> |
getBookingClassAvails()
Get the list of 'BookingClassAvail' element items. |
java.lang.Boolean |
getCodeshareInd()
Get the 'CodeshareInd' 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.String |
getDateChangeNbr()
Get the 'DateChangeNbr' attribute value. |
java.lang.Integer |
getDistance()
Get the 'Distance' attribute value. |
java.lang.Boolean |
getFlifoInd()
Get the 'FlifoInd' attribute value. |
java.lang.String |
getGroundDuration()
Get the 'GroundDuration' attribute value. |
java.lang.String |
getJourneyDuration()
Get the 'JourneyDuration' attribute value. |
MarketingCabin |
getMarketingCabin(int index)
Get 'MarketingCabin' element item by position. |
java.util.List<MarketingCabin> |
getMarketingCabins()
Get the list of 'MarketingCabin' element items. |
java.lang.Float |
getOnTimeRate()
Get the 'OnTimeRate' attribute value. |
java.lang.String |
getParticipationLevelCode()
Get the 'ParticipationLevelCode' attribute value. |
java.lang.Integer |
getSequenceNumber()
Get the 'SequenceNumber' attribute value. |
java.lang.Boolean |
getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. |
LocationGroup |
getStopLocation(int index)
Get 'StopLocation' element item by position. |
java.util.List<LocationGroup> |
getStopLocations()
Get the list of 'StopLocation' element items. |
Ticket |
getTicket()
Get the 'Ticket' attribute value. |
AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo |
getTrafficRestrictionInfo(int index)
Get 'TrafficRestrictionInfo' element item by position. |
java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> |
getTrafficRestrictionInfos()
Get the list of 'TrafficRestrictionInfo' element items. |
void |
setAccumulatedDuration(java.lang.String accumulatedDuration)
Set the 'AccumulatedDuration' attribute value. |
void |
setBookingClassAvails(java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail> list)
Set the list of 'BookingClassAvail' element items. |
void |
setCodeshareInd(java.lang.Boolean codeshareInd)
Set the 'CodeshareInd' attribute value. |
void |
setComments(java.util.List<FreeText> list)
Set the list of 'Comment' element items. |
void |
setDateChangeNbr(java.lang.String dateChangeNbr)
Set the 'DateChangeNbr' attribute value. |
void |
setDistance(java.lang.Integer distance)
Set the 'Distance' attribute value. |
void |
setFlifoInd(java.lang.Boolean flifoInd)
Set the 'FlifoInd' attribute value. |
void |
setGroundDuration(java.lang.String groundDuration)
Set the 'GroundDuration' attribute value. |
void |
setJourneyDuration(java.lang.String journeyDuration)
Set the 'JourneyDuration' attribute value. |
void |
setMarketingCabins(java.util.List<MarketingCabin> list)
Set the list of 'MarketingCabin' element items. |
void |
setOnTimeRate(java.lang.Float onTimeRate)
Set the 'OnTimeRate' attribute value. |
void |
setParticipationLevelCode(java.lang.String participationLevelCode)
Set the 'ParticipationLevelCode' attribute value. |
void |
setSequenceNumber(java.lang.Integer sequenceNumber)
Set the 'SequenceNumber' attribute value. |
void |
setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. |
void |
setStopLocations(java.util.List<LocationGroup> list)
Set the list of 'StopLocation' element items. |
void |
setTicket(Ticket ticket)
Set the 'Ticket' attribute value. |
void |
setTrafficRestrictionInfos(java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> list)
Set the list of 'TrafficRestrictionInfo' element items. |
int |
sizeBookingClassAvails()
Get the number of 'BookingClassAvail' element items. |
int |
sizeComments()
Get the number of 'Comment' element items. |
int |
sizeMarketingCabins()
Get the number of 'MarketingCabin' element items. |
int |
sizeStopLocations()
Get the number of 'StopLocation' element items. |
int |
sizeTrafficRestrictionInfos()
Get the number of 'TrafficRestrictionInfo' element items. |
Methods inherited from class org.ota.air.FlightSegment |
---|
getFlightNumber, getMarketingAirline, getTourOperatorFlightID, setFlightNumber, setMarketingAirline, setTourOperatorFlightID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment()
Method Detail |
---|
public java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> getTrafficRestrictionInfos()
public void setTrafficRestrictionInfos(java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> list)
list
- public int sizeTrafficRestrictionInfos()
public void addTrafficRestrictionInfo(AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo item)
item
- public AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo getTrafficRestrictionInfo(int index)
index
-
public void clearTrafficRestrictionInfos()
public java.util.List<FreeText> getComments()
public void setComments(java.util.List<FreeText> list)
list
- public int sizeComments()
public void addComment(FreeText item)
item
- public FreeText getComment(int index)
index
-
public void clearComments()
public java.util.List<MarketingCabin> getMarketingCabins()
public void setMarketingCabins(java.util.List<MarketingCabin> list)
list
- public int sizeMarketingCabins()
public void addMarketingCabin(MarketingCabin item)
item
- public MarketingCabin getMarketingCabin(int index)
index
-
public void clearMarketingCabins()
public java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail> getBookingClassAvails()
public void setBookingClassAvails(java.util.List<AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail> list)
list
- public int sizeBookingClassAvails()
public void addBookingClassAvail(AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail item)
item
- public AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.BookingClassAvail getBookingClassAvail(int index)
index
-
public void clearBookingClassAvails()
public java.util.List<LocationGroup> getStopLocations()
public void setStopLocations(java.util.List<LocationGroup> list)
list
- public int sizeStopLocations()
public void addStopLocation(LocationGroup item)
item
- public LocationGroup getStopLocation(int index)
index
-
public void clearStopLocations()
public java.lang.String getJourneyDuration()
public void setJourneyDuration(java.lang.String journeyDuration)
journeyDuration
- public java.lang.Boolean getSmokingAllowed()
public void setSmokingAllowed(java.lang.Boolean smokingAllowed)
smokingAllowed
- public java.lang.Float getOnTimeRate()
public void setOnTimeRate(java.lang.Float onTimeRate)
onTimeRate
- public Ticket getTicket()
public void setTicket(Ticket ticket)
ticket
- public java.lang.String getParticipationLevelCode()
public void setParticipationLevelCode(java.lang.String participationLevelCode)
participationLevelCode
- public java.lang.String getGroundDuration()
public void setGroundDuration(java.lang.String groundDuration)
groundDuration
- public java.lang.String getAccumulatedDuration()
public void setAccumulatedDuration(java.lang.String accumulatedDuration)
accumulatedDuration
- public java.lang.Integer getDistance()
public void setDistance(java.lang.Integer distance)
distance
- public java.lang.Boolean getCodeshareInd()
public void setCodeshareInd(java.lang.Boolean codeshareInd)
codeshareInd
- public java.lang.Boolean getFlifoInd()
public void setFlifoInd(java.lang.Boolean flifoInd)
flifoInd
- public java.lang.String getDateChangeNbr()
public void setDateChangeNbr(java.lang.String dateChangeNbr)
dateChangeNbr
- public java.lang.Integer getSequenceNumber()
public void setSequenceNumber(java.lang.Integer sequenceNumber)
sequenceNumber
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |