|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.air.AirItinerary.OriginDestinationOption
public static class AirItinerary.OriginDestinationOption
A container for OriginDestinationOptionType. 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="OriginDestinationOption" maxOccurs="99">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:OriginDestinationOptionType">
<xs:attribute type="xs:int" use="optional" name="RefNumber"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OriginDestinationOptionType">
<xs:sequence>
<xs:element name="FlightSegment" maxOccurs="8">
<!-- Reference to inner class FlightSegment -->
</xs:element>
</xs:sequence>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
AirItinerary.OriginDestinationOption.FlightSegment
A container for necessary data to describe one or more legs of a single flight number. |
| Constructor Summary | |
|---|---|
AirItinerary.OriginDestinationOption()
|
|
| Method Summary | |
|---|---|
void |
addFlightSegment(AirItinerary.OriginDestinationOption.FlightSegment item)
Add a 'FlightSegment' element item. |
void |
clearFlightSegments()
Remove all 'FlightSegment' element items. |
AirItinerary.OriginDestinationOption.FlightSegment |
getFlightSegment(int index)
Get 'FlightSegment' element item by position. |
java.util.List<AirItinerary.OriginDestinationOption.FlightSegment> |
getFlightSegments()
Get the list of 'FlightSegment' element items. |
java.lang.Integer |
getRefNumber()
Get the 'RefNumber' attribute value. |
void |
setFlightSegments(java.util.List<AirItinerary.OriginDestinationOption.FlightSegment> list)
Set the list of 'FlightSegment' element items. |
void |
setRefNumber(java.lang.Integer refNumber)
Set the 'RefNumber' attribute value. |
int |
sizeFlightSegments()
Get the number of 'FlightSegment' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AirItinerary.OriginDestinationOption()
| Method Detail |
|---|
public java.util.List<AirItinerary.OriginDestinationOption.FlightSegment> getFlightSegments()
public void setFlightSegments(java.util.List<AirItinerary.OriginDestinationOption.FlightSegment> list)
list - public int sizeFlightSegments()
public void addFlightSegment(AirItinerary.OriginDestinationOption.FlightSegment item)
item - public AirItinerary.OriginDestinationOption.FlightSegment getFlightSegment(int index)
index -
public void clearFlightSegments()
public java.lang.Integer getRefNumber()
public void setRefNumber(java.lang.Integer refNumber)
refNumber -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||