|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.rail.BookRQ.OriginDestinationOption.TrainSegment
public static class BookRQ.OriginDestinationOption.TrainSegment
Full details on one specific train segment, including the origin and destination locations for this segment, the requested class of service, and the operating company, if appropriate. 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="TrainSegment" maxOccurs="9"> <xs:complexType> <xs:sequence> <xs:element type="ns:LocationType" name="DepartureStation"/> <xs:element type="ns:LocationType" name="ArrivalStation"/> <xs:element name="ClassCode" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:CodeListGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:dateTime" use="optional" name="DepartureDateTime"/> <xs:attribute type="xs:string" use="optional" name="TrainNumber"/> <xs:attribute type="ns:SeatType" use="optional" name="SeatPreference"/> <xs:attribute type="ns:SeatDirectionType" use="optional" name="SeatDirection"/> </xs:complexType> </xs:element> <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatType"> <!-- Reference to inner class Seat --> </xs:simpleType>
Nested Class Summary | |
---|---|
static class |
BookRQ.OriginDestinationOption.TrainSegment.Seat
Identifies the position of a seat, e.g. |
Constructor Summary | |
---|---|
BookRQ.OriginDestinationOption.TrainSegment()
|
Method Summary | |
---|---|
Location |
getArrivalStation()
Get the 'ArrivalStation' element value. |
CodeListGroup |
getClassCode()
Get the 'CodeListGroup' attributeGroup value. |
java.util.Date |
getDepartureDateTime()
Get the 'DepartureDateTime' attribute value. |
Location |
getDepartureStation()
Get the 'DepartureStation' element value. |
SeatDirection |
getSeatDirection()
Get the 'SeatDirection' attribute value. |
BookRQ.OriginDestinationOption.TrainSegment.Seat |
getSeatPreference()
Get the 'SeatPreference' attribute value. |
java.lang.String |
getTrainNumber()
Get the 'TrainNumber' attribute value. |
CompanyName |
getVendor()
Get the 'Vendor' element value. |
void |
setArrivalStation(Location arrivalStation)
Set the 'ArrivalStation' element value. |
void |
setClassCode(CodeListGroup classCode)
Set the 'CodeListGroup' attributeGroup value. |
void |
setDepartureDateTime(java.util.Date departureDateTime)
Set the 'DepartureDateTime' attribute value. |
void |
setDepartureStation(Location departureStation)
Set the 'DepartureStation' element value. |
void |
setSeatDirection(SeatDirection seatDirection)
Set the 'SeatDirection' attribute value. |
void |
setSeatPreference(BookRQ.OriginDestinationOption.TrainSegment.Seat seatPreference)
Set the 'SeatPreference' attribute value. |
void |
setTrainNumber(java.lang.String trainNumber)
Set the 'TrainNumber' attribute value. |
void |
setVendor(CompanyName vendor)
Set the 'Vendor' element value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookRQ.OriginDestinationOption.TrainSegment()
Method Detail |
---|
public Location getDepartureStation()
public void setDepartureStation(Location departureStation)
departureStation
- public Location getArrivalStation()
public void setArrivalStation(Location arrivalStation)
arrivalStation
- public CodeListGroup getClassCode()
public void setClassCode(CodeListGroup classCode)
classCode
- public CompanyName getVendor()
public void setVendor(CompanyName vendor)
vendor
- public java.util.Date getDepartureDateTime()
public void setDepartureDateTime(java.util.Date departureDateTime)
departureDateTime
- public java.lang.String getTrainNumber()
public void setTrainNumber(java.lang.String trainNumber)
trainNumber
- public BookRQ.OriginDestinationOption.TrainSegment.Seat getSeatPreference()
public void setSeatPreference(BookRQ.OriginDestinationOption.TrainSegment.Seat seatPreference)
seatPreference
- public SeatDirection getSeatDirection()
public void setSeatDirection(SeatDirection seatDirection)
seatDirection
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |