|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.air.SpecificFlightInfo
public class SpecificFlightInfo
Specify actual airline, flight number, or booking class 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="SpecificFlightInfoType"> <xs:sequence> <xs:element type="xs:string" name="FlightNumber" minOccurs="0"/> <xs:element type="ns:CompanyNameType" name="Airline" minOccurs="0"/> <xs:element name="BookingClassPref" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class BookingClassPref --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
SpecificFlightInfo.BookingClassPref
Specifies specific booking classes to include and/or exclude in the response. |
Constructor Summary | |
---|---|
SpecificFlightInfo()
|
Method Summary | |
---|---|
void |
addBookingClassPref(SpecificFlightInfo.BookingClassPref item)
Add a 'BookingClassPref' element item. |
void |
clearBookingClassPrefs()
Remove all 'BookingClassPref' element items. |
CompanyName |
getAirline()
Get the 'Airline' element value. |
SpecificFlightInfo.BookingClassPref |
getBookingClassPref(int index)
Get 'BookingClassPref' element item by position. |
java.util.List<SpecificFlightInfo.BookingClassPref> |
getBookingClassPrefs()
Get the list of 'BookingClassPref' element items. |
java.lang.String |
getFlightNumber()
Get the 'FlightNumber' element value. |
void |
setAirline(CompanyName airline)
Set the 'Airline' element value. |
void |
setBookingClassPrefs(java.util.List<SpecificFlightInfo.BookingClassPref> list)
Set the list of 'BookingClassPref' element items. |
void |
setFlightNumber(java.lang.String flightNumber)
Set the 'FlightNumber' element value. |
int |
sizeBookingClassPrefs()
Get the number of 'BookingClassPref' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpecificFlightInfo()
Method Detail |
---|
public java.lang.String getFlightNumber()
public void setFlightNumber(java.lang.String flightNumber)
flightNumber
- public CompanyName getAirline()
public void setAirline(CompanyName airline)
airline
- public java.util.List<SpecificFlightInfo.BookingClassPref> getBookingClassPrefs()
public void setBookingClassPrefs(java.util.List<SpecificFlightInfo.BookingClassPref> list)
list
- public int sizeBookingClassPrefs()
public void addBookingClassPref(SpecificFlightInfo.BookingClassPref item)
item
- public SpecificFlightInfo.BookingClassPref getBookingClassPref(int index)
index
-
public void clearBookingClassPrefs()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |