|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.rail.Journey
org.ota.rail.AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey
public static class AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey
Describes one specific route, detailing the origin and destination locations and a collection of journey segments that together create the full journey between these two locations. 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="Journey" maxOccurs="99">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:JourneyType">
<xs:sequence>
<xs:element name="FareRPHs" minOccurs="0">
<!-- Reference to inner class FareRPHs -->
</xs:element>
<xs:element name="JourneySegments">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:JourneySegmentType" name="JourneySegment" maxOccurs="9"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
| Nested Class Summary | |
|---|---|
static class |
AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs
Reference Place Holders to associate specific fares to this specific route. |
| Constructor Summary | |
|---|---|
AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey()
|
|
| Method Summary | |
|---|---|
void |
addJourneySegment(JourneySegment item)
Add a 'JourneySegment' element item. |
void |
clearJourneySegments()
Remove all 'JourneySegment' element items. |
AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs |
getFareRPHs()
Get the 'FareRPHs' element value. |
JourneySegment |
getJourneySegment(int index)
Get 'JourneySegment' element item by position. |
java.util.List<JourneySegment> |
getJourneySegments()
Get the list of 'JourneySegment' element items. |
void |
setFareRPHs(AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs fareRPHs)
Set the 'FareRPHs' element value. |
void |
setJourneySegments(java.util.List<JourneySegment> list)
Set the list of 'JourneySegment' element items. |
int |
sizeJourneySegments()
Get the number of 'JourneySegment' element items. |
| Methods inherited from class org.ota.rail.Journey |
|---|
getDestinationLocation, getOriginLocation, getRouteCode, getRouteDescription, setDestinationLocation, setOriginLocation, setRouteCode, setRouteDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey()
| Method Detail |
|---|
public AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs getFareRPHs()
public void setFareRPHs(AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs fareRPHs)
fareRPHs - public java.util.List<JourneySegment> getJourneySegments()
public void setJourneySegments(java.util.List<JourneySegment> list)
list - public int sizeJourneySegments()
public void addJourneySegment(JourneySegment item)
item - public JourneySegment getJourneySegment(int index)
index -
public void clearJourneySegments()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||