|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.ScheduleRQ
public class ScheduleRQ
The Schedule Request message requests Flight Schedules for a city pair. Optional request information can include: - Time / Time Window - Connecting cities. - Client Preferences (airlines, cabin, flight types etc.) The request can be narrowed to request schedules for a specific airline or specific flight. 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="OTA_AirScheduleRQ">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
<xs:element name="OriginDestinationInformation">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:OriginDestinationInformationType">
<xs:attributeGroup ref="ns:DOW_PatternGroup"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element type="ns:SpecificFlightInfoType" name="FlightInfo" minOccurs="0"/>
<xs:element type="ns:CompanyNamePrefType" name="VendorPref" minOccurs="0" maxOccurs="99"/>
<xs:element name="FlightTypePref" minOccurs="0" maxOccurs="3">
<xs:complexType>
<xs:attributeGroup ref="ns:FlightTypePrefGroup"/>
</xs:complexType>
</xs:element>
<xs:element type="ns:EquipmentTypePref" name="EquipPref" minOccurs="0" maxOccurs="9"/>
</xs:sequence>
<xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
<xs:attributeGroup ref="ns:MaxResponsesGroup"/>
</xs:complexType>
</xs:element>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MaxResponsesGroup">
<xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
</xs:attributeGroup>
| Constructor Summary | |
|---|---|
ScheduleRQ()
|
|
| Method Summary | |
|---|---|
void |
addEquipPref(EquipmentTypePref item)
Add a 'EquipPref' element item. |
void |
addFlightTypePref(FlightTypePrefGroup item)
Add a 'FlightTypePref' element item. |
void |
addVendorPref(CompanyNamePref item)
Add a 'VendorPref' element item. |
void |
clearEquipPrefs()
Remove all 'EquipPref' element items. |
void |
clearFlightTypePrefs()
Remove all 'FlightTypePref' element items. |
void |
clearVendorPrefs()
Remove all 'VendorPref' element items. |
EquipmentTypePref |
getEquipPref(int index)
Get 'EquipPref' element item by position. |
java.util.List<EquipmentTypePref> |
getEquipPrefs()
Get the list of 'EquipPref' element items. |
SpecificFlightInfo |
getFlightInfo()
Get the 'FlightInfo' element value. |
FlightTypePrefGroup |
getFlightTypePref(int index)
Get 'FlightTypePref' element item by position. |
java.util.List<FlightTypePrefGroup> |
getFlightTypePrefs()
Get the list of 'FlightTypePref' element items. |
java.lang.String |
getMaxResponses()
Get the 'MaxResponses' attribute value. |
DOWPatternGroup |
getOriginDestinationInformationDOWPatternGroup()
Get the 'DOW_PatternGroup' attributeGroup value. |
OriginDestinationInformation |
getOriginDestinationInformationOriginDestinationInformation()
Get the extension value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
CompanyNamePref |
getVendorPref(int index)
Get 'VendorPref' element item by position. |
java.util.List<CompanyNamePref> |
getVendorPrefs()
Get the list of 'VendorPref' element items. |
void |
setEquipPrefs(java.util.List<EquipmentTypePref> list)
Set the list of 'EquipPref' element items. |
void |
setFlightInfo(SpecificFlightInfo flightInfo)
Set the 'FlightInfo' element value. |
void |
setFlightTypePrefs(java.util.List<FlightTypePrefGroup> list)
Set the list of 'FlightTypePref' element items. |
void |
setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. |
void |
setOriginDestinationInformationDOWPatternGroup(DOWPatternGroup originDestinationInformationDOWPatternGroup)
Set the 'DOW_PatternGroup' attributeGroup value. |
void |
setOriginDestinationInformationOriginDestinationInformation(OriginDestinationInformation originDestinationInformationOriginDestinationInformation)
Set the extension value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setVendorPrefs(java.util.List<CompanyNamePref> list)
Set the list of 'VendorPref' element items. |
int |
sizeEquipPrefs()
Get the number of 'EquipPref' element items. |
int |
sizeFlightTypePrefs()
Get the number of 'FlightTypePref' element items. |
int |
sizeVendorPrefs()
Get the number of 'VendorPref' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduleRQ()
| Method Detail |
|---|
public POS getPOS()
public void setPOS(POS POS)
POS - public OriginDestinationInformation getOriginDestinationInformationOriginDestinationInformation()
public void setOriginDestinationInformationOriginDestinationInformation(OriginDestinationInformation originDestinationInformationOriginDestinationInformation)
originDestinationInformationOriginDestinationInformation - public DOWPatternGroup getOriginDestinationInformationDOWPatternGroup()
public void setOriginDestinationInformationDOWPatternGroup(DOWPatternGroup originDestinationInformationDOWPatternGroup)
originDestinationInformationDOWPatternGroup - public SpecificFlightInfo getFlightInfo()
public void setFlightInfo(SpecificFlightInfo flightInfo)
flightInfo - public java.util.List<CompanyNamePref> getVendorPrefs()
public void setVendorPrefs(java.util.List<CompanyNamePref> list)
list - public int sizeVendorPrefs()
public void addVendorPref(CompanyNamePref item)
item - public CompanyNamePref getVendorPref(int index)
index -
public void clearVendorPrefs()
public java.util.List<FlightTypePrefGroup> getFlightTypePrefs()
public void setFlightTypePrefs(java.util.List<FlightTypePrefGroup> list)
list - public int sizeFlightTypePrefs()
public void addFlightTypePref(FlightTypePrefGroup item)
item - public FlightTypePrefGroup getFlightTypePref(int index)
index -
public void clearFlightTypePrefs()
public java.util.List<EquipmentTypePref> getEquipPrefs()
public void setEquipPrefs(java.util.List<EquipmentTypePref> list)
list - public int sizeEquipPrefs()
public void addEquipPref(EquipmentTypePref item)
item - public EquipmentTypePref getEquipPref(int index)
index -
public void clearEquipPrefs()
public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes - public java.lang.String getMaxResponses()
public void setMaxResponses(java.lang.String maxResponses)
maxResponses -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||