|
|||||||
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.air.ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment
public static class ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment
A collection of one or more legs that are defined as 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="4"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:FlightSegmentType"> <xs:sequence> <xs:element type="ns:FreeTextType" name="Comment" minOccurs="0" maxOccurs="10"/> <xs:element type="ns:MarketingCabinType" name="MarketingCabin" minOccurs="0" maxOccurs="9"/> <xs:element type="ns:OperationSchedulesType" name="DaysOfOperation" minOccurs="0"/> <xs:element name="BookingClass" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class BookingClass --> </xs:element> <xs:element name="TrafficRestrictionInfo" minOccurs="0" maxOccurs="9"> <!-- Reference to inner class TrafficRestrictionInfo --> </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="xs:date" use="optional" name="ScheduleValidStartDate"/> <xs:attribute type="xs:date" use="optional" name="ScheduleValidEndDate"/> <xs:attribute type="xs:string" use="optional" name="ParticipationLevelCode"/> <xs:attribute type="xs:string" use="optional" name="DateChangeNbr"/> <xs:attribute type="xs:boolean" use="optional" name="FLIFO_Ind"/> </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 |
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass
Reservation booking codes for a particular flight segment. |
static class |
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
Traffic restriction information for a specific flight. |
Nested classes/interfaces inherited from class org.ota.air.FlightSegment |
---|
FlightSegment.MarketingAirline |
Constructor Summary | |
---|---|
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment()
|
Method Summary | |
---|---|
void |
addBookingClass(ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass item)
Add a 'BookingClass' element item. |
void |
addComment(FreeText item)
Add a 'Comment' element item. |
void |
addMarketingCabin(MarketingCabin item)
Add a 'MarketingCabin' element item. |
void |
addTrafficRestrictionInfo(ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo item)
Add a 'TrafficRestrictionInfo' element item. |
void |
clearBookingClasses()
Remove all 'BookingClass' element items. |
void |
clearComments()
Remove all 'Comment' element items. |
void |
clearMarketingCabins()
Remove all 'MarketingCabin' element items. |
void |
clearTrafficRestrictionInfos()
Remove all 'TrafficRestrictionInfo' element items. |
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass |
getBookingClass(int index)
Get 'BookingClass' element item by position. |
java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass> |
getBookingClasses()
Get the list of 'BookingClass' element items. |
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. |
OperationSchedules |
getDaysOfOperation()
Get the 'DaysOfOperation' element value. |
java.lang.Boolean |
getFLIFOInd()
Get the 'FLIFO_Ind' 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.sql.Date |
getScheduleValidEndDate()
Get the 'ScheduleValidEndDate' attribute value. |
java.sql.Date |
getScheduleValidStartDate()
Get the 'ScheduleValidStartDate' attribute value. |
java.lang.Boolean |
getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. |
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo |
getTrafficRestrictionInfo(int index)
Get 'TrafficRestrictionInfo' element item by position. |
java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> |
getTrafficRestrictionInfos()
Get the list of 'TrafficRestrictionInfo' element items. |
void |
setBookingClasses(java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass> list)
Set the list of 'BookingClass' element items. |
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 |
setDaysOfOperation(OperationSchedules daysOfOperation)
Set the 'DaysOfOperation' element value. |
void |
setFLIFOInd(java.lang.Boolean FLIFOInd)
Set the 'FLIFO_Ind' 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 |
setScheduleValidEndDate(java.sql.Date scheduleValidEndDate)
Set the 'ScheduleValidEndDate' attribute value. |
void |
setScheduleValidStartDate(java.sql.Date scheduleValidStartDate)
Set the 'ScheduleValidStartDate' attribute value. |
void |
setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. |
void |
setTrafficRestrictionInfos(java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> list)
Set the list of 'TrafficRestrictionInfo' element items. |
int |
sizeBookingClasses()
Get the number of 'BookingClass' element items. |
int |
sizeComments()
Get the number of 'Comment' element items. |
int |
sizeMarketingCabins()
Get the number of 'MarketingCabin' 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 ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment()
Method Detail |
---|
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 OperationSchedules getDaysOfOperation()
public void setDaysOfOperation(OperationSchedules daysOfOperation)
daysOfOperation
- public java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass> getBookingClasses()
public void setBookingClasses(java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass> list)
list
- public int sizeBookingClasses()
public void addBookingClass(ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass item)
item
- public ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.BookingClass getBookingClass(int index)
index
-
public void clearBookingClasses()
public java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> getTrafficRestrictionInfos()
public void setTrafficRestrictionInfos(java.util.List<ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo> list)
list
- public int sizeTrafficRestrictionInfos()
public void addTrafficRestrictionInfo(ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo item)
item
- public ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo getTrafficRestrictionInfo(int index)
index
-
public void clearTrafficRestrictionInfos()
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 java.sql.Date getScheduleValidStartDate()
public void setScheduleValidStartDate(java.sql.Date scheduleValidStartDate)
scheduleValidStartDate
- public java.sql.Date getScheduleValidEndDate()
public void setScheduleValidEndDate(java.sql.Date scheduleValidEndDate)
scheduleValidEndDate
- public java.lang.String getParticipationLevelCode()
public void setParticipationLevelCode(java.lang.String participationLevelCode)
participationLevelCode
- public java.lang.String getDateChangeNbr()
public void setDateChangeNbr(java.lang.String dateChangeNbr)
dateChangeNbr
- public java.lang.Boolean getFLIFOInd()
public void setFLIFOInd(java.lang.Boolean FLIFOInd)
FLIFOInd
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |