|
|||||||
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.BookFlightSegment
public class BookFlightSegment
Container for the flight segment data plus the MarriageGrp. Construct for holding the booked flight segment information. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookFlightSegmentType"> <xs:complexContent> <xs:extension base="ns:FlightSegmentType"> <xs:sequence> <xs:element type="xs:string" name="MarriageGrp" minOccurs="0"/> <xs:element name="BookingClassAvails" minOccurs="0" maxOccurs="3"> <!-- Reference to inner class BookingClassAvails --> </xs:element> <xs:element type="ns:FreeTextType" name="Comment" minOccurs="0" maxOccurs="9"/> <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="ResBookDesigCode"/> <xs:attribute type="xs:string" use="optional" name="NumberInParty"/> <xs:attribute type="xs:string" use="optional" name="Status"/> <xs:attribute use="optional" name="E_TicketEligibility"> <xs:simpleType> <!-- Reference to inner class ETicketEligibility --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" use="optional" name="MealCode"/> <xs:attribute type="ns:DayOfWeekType" use="optional" name="DepartureDay"/> <xs:attribute type="xs:boolean" use="optional" name="StopoverInd"/> <xs:attribute type="xs:int" use="optional" name="LineNumber"/> <xs:attribute type="xs:string" use="optional" name="ConnectionType"/> <xs:attribute type="xs:string" use="optional" name="ParticipationLevelCode"/> <xs:attribute type="xs:int" use="optional" name="Distance"/> <xs:attribute type="xs:string" use="optional" name="DateChangeNbr"/> <xs:attribute type="xs:boolean" use="optional" name="ValidConnectionInd"/> </xs:extension> </xs:complexContent> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
BookFlightSegment.BookingClassAvails
A collection of availability counts per booking class. |
static class |
BookFlightSegment.ETicketEligibility
Schema fragment(s) for this class: |
Nested classes/interfaces inherited from class org.ota.air.FlightSegment |
---|
FlightSegment.MarketingAirline |
Constructor Summary | |
---|---|
BookFlightSegment()
|
Method Summary | |
---|---|
void |
addBookingClassAvail(BookFlightSegment.BookingClassAvails item)
Add a 'BookingClassAvails' element item. |
void |
addComment(FreeText item)
Add a 'Comment' element item. |
void |
addStopLocation(LocationGroup item)
Add a 'StopLocation' element item. |
void |
clearBookingClassAvails()
Remove all 'BookingClassAvails' element items. |
void |
clearComments()
Remove all 'Comment' element items. |
void |
clearStopLocations()
Remove all 'StopLocation' element items. |
BookFlightSegment.BookingClassAvails |
getBookingClassAvail(int index)
Get 'BookingClassAvails' element item by position. |
java.util.List<BookFlightSegment.BookingClassAvails> |
getBookingClassAvails()
Get the list of 'BookingClassAvails' 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 |
getConnection()
Get the 'ConnectionType' attribute value. |
java.lang.String |
getDateChangeNbr()
Get the 'DateChangeNbr' attribute value. |
DayOfWeek |
getDepartureDay()
Get the 'DepartureDay' attribute value. |
java.lang.Integer |
getDistance()
Get the 'Distance' attribute value. |
BookFlightSegment.ETicketEligibility |
getETicketEligibility1()
Get the 'E_TicketEligibility' attribute value. |
java.lang.Integer |
getLineNumber()
Get the 'LineNumber' attribute value. |
java.lang.String |
getMarriageGrp()
Get the 'MarriageGrp' element value. |
java.lang.String |
getMealCode()
Get the 'MealCode' attribute value. |
java.lang.String |
getNumberInParty()
Get the 'NumberInParty' attribute value. |
java.lang.String |
getParticipationLevelCode()
Get the 'ParticipationLevelCode' attribute value. |
java.lang.String |
getResBookDesigCode()
Get the 'ResBookDesigCode' attribute value. |
java.lang.String |
getStatus()
Get the 'Status' attribute value. |
LocationGroup |
getStopLocation(int index)
Get 'StopLocation' element item by position. |
java.util.List<LocationGroup> |
getStopLocations()
Get the list of 'StopLocation' element items. |
java.lang.Boolean |
getStopoverInd()
Get the 'StopoverInd' attribute value. |
java.lang.Boolean |
getValidConnectionInd()
Get the 'ValidConnectionInd' attribute value. |
void |
setBookingClassAvails(java.util.List<BookFlightSegment.BookingClassAvails> list)
Set the list of 'BookingClassAvails' element items. |
void |
setComments(java.util.List<FreeText> list)
Set the list of 'Comment' element items. |
void |
setConnection(java.lang.String connection)
Set the 'ConnectionType' attribute value. |
void |
setDateChangeNbr(java.lang.String dateChangeNbr)
Set the 'DateChangeNbr' attribute value. |
void |
setDepartureDay(DayOfWeek departureDay)
Set the 'DepartureDay' attribute value. |
void |
setDistance(java.lang.Integer distance)
Set the 'Distance' attribute value. |
void |
setETicketEligibility1(BookFlightSegment.ETicketEligibility ETicketEligibility1)
Set the 'E_TicketEligibility' attribute value. |
void |
setLineNumber(java.lang.Integer lineNumber)
Set the 'LineNumber' attribute value. |
void |
setMarriageGrp(java.lang.String marriageGrp)
Set the 'MarriageGrp' element value. |
void |
setMealCode(java.lang.String mealCode)
Set the 'MealCode' attribute value. |
void |
setNumberInParty(java.lang.String numberInParty)
Set the 'NumberInParty' attribute value. |
void |
setParticipationLevelCode(java.lang.String participationLevelCode)
Set the 'ParticipationLevelCode' attribute value. |
void |
setResBookDesigCode(java.lang.String resBookDesigCode)
Set the 'ResBookDesigCode' attribute value. |
void |
setStatus(java.lang.String status)
Set the 'Status' attribute value. |
void |
setStopLocations(java.util.List<LocationGroup> list)
Set the list of 'StopLocation' element items. |
void |
setStopoverInd(java.lang.Boolean stopoverInd)
Set the 'StopoverInd' attribute value. |
void |
setValidConnectionInd(java.lang.Boolean validConnectionInd)
Set the 'ValidConnectionInd' attribute value. |
int |
sizeBookingClassAvails()
Get the number of 'BookingClassAvails' element items. |
int |
sizeComments()
Get the number of 'Comment' element items. |
int |
sizeStopLocations()
Get the number of 'StopLocation' 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 BookFlightSegment()
Method Detail |
---|
public java.lang.String getMarriageGrp()
public void setMarriageGrp(java.lang.String marriageGrp)
marriageGrp
- public java.util.List<BookFlightSegment.BookingClassAvails> getBookingClassAvails()
public void setBookingClassAvails(java.util.List<BookFlightSegment.BookingClassAvails> list)
list
- public int sizeBookingClassAvails()
public void addBookingClassAvail(BookFlightSegment.BookingClassAvails item)
item
- public BookFlightSegment.BookingClassAvails getBookingClassAvail(int index)
index
-
public void clearBookingClassAvails()
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<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 getResBookDesigCode()
public void setResBookDesigCode(java.lang.String resBookDesigCode)
resBookDesigCode
- public java.lang.String getNumberInParty()
public void setNumberInParty(java.lang.String numberInParty)
numberInParty
- public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- public BookFlightSegment.ETicketEligibility getETicketEligibility1()
public void setETicketEligibility1(BookFlightSegment.ETicketEligibility ETicketEligibility1)
ETicketEligibility1
- public java.lang.String getMealCode()
public void setMealCode(java.lang.String mealCode)
mealCode
- public DayOfWeek getDepartureDay()
public void setDepartureDay(DayOfWeek departureDay)
departureDay
- public java.lang.Boolean getStopoverInd()
public void setStopoverInd(java.lang.Boolean stopoverInd)
stopoverInd
- public java.lang.Integer getLineNumber()
public void setLineNumber(java.lang.Integer lineNumber)
lineNumber
- public java.lang.String getConnection()
public void setConnection(java.lang.String connection)
connection
- public java.lang.String getParticipationLevelCode()
public void setParticipationLevelCode(java.lang.String participationLevelCode)
participationLevelCode
- public java.lang.Integer getDistance()
public void setDistance(java.lang.Integer distance)
distance
- public java.lang.String getDateChangeNbr()
public void setDateChangeNbr(java.lang.String dateChangeNbr)
dateChangeNbr
- public java.lang.Boolean getValidConnectionInd()
public void setValidConnectionInd(java.lang.Boolean validConnectionInd)
validConnectionInd
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |