|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.rail.Journey
public class Journey
Describes a route 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="JourneyType"> <xs:sequence> <xs:element type="ns:LocationType" name="OriginLocation"/> <xs:element type="ns:LocationType" name="DestinationLocation"/> </xs:sequence> <xs:attribute type="xs:string" name="RouteCode"/> <xs:attribute type="xs:string" name="RouteDescription"/> </xs:complexType>
Constructor Summary | |
---|---|
Journey()
|
Method Summary | |
---|---|
Location |
getDestinationLocation()
Get the 'DestinationLocation' element value. |
Location |
getOriginLocation()
Get the 'OriginLocation' element value. |
java.lang.String |
getRouteCode()
Get the 'RouteCode' attribute value. |
java.lang.String |
getRouteDescription()
Get the 'RouteDescription' attribute value. |
void |
setDestinationLocation(Location destinationLocation)
Set the 'DestinationLocation' element value. |
void |
setOriginLocation(Location originLocation)
Set the 'OriginLocation' element value. |
void |
setRouteCode(java.lang.String routeCode)
Set the 'RouteCode' attribute value. |
void |
setRouteDescription(java.lang.String routeDescription)
Set the 'RouteDescription' attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Journey()
Method Detail |
---|
public Location getOriginLocation()
public void setOriginLocation(Location originLocation)
originLocation
- public Location getDestinationLocation()
public void setDestinationLocation(Location destinationLocation)
destinationLocation
- public java.lang.String getRouteCode()
public void setRouteCode(java.lang.String routeCode)
routeCode
- public java.lang.String getRouteDescription()
public void setRouteDescription(java.lang.String routeDescription)
routeDescription
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |