|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.rail.BookRQ
public class BookRQ
The Book Request message is used to request that a reservation be created for one or more journies between specified locations on specific date(s) for a specific number and type of passengers. 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_RailBookRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/> <xs:element name="RailBookInfo"> <xs:complexType> <xs:sequence> <xs:element name="OriginDestinationOptions"> <xs:complexType> <xs:sequence> <xs:element name="OriginDestinationOption" maxOccurs="99"> <!-- Reference to inner class OriginDestinationOption --> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:choice> <xs:element name="TravelerNames"> <xs:complexType> <xs:sequence> <xs:element type="ns:PersonNameType" name="TravelerName" maxOccurs="99"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TravelerCount" maxOccurs="5"> <xs:complexType> <xs:attributeGroup ref="ns:TravelerCountGroup"/> </xs:complexType> </xs:element> </xs:choice> <xs:element name="RateQualifier" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:RateQualifierCoreGroup"/> </xs:complexType> </xs:element> <xs:element name="Fulfillment" minOccurs="0"> <!-- Reference to inner class Fulfillment --> </xs:element> <xs:element type="ns:PaymentFormType" name="PaymentForm" minOccurs="0" maxOccurs="5"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
BookRQ.Fulfillment
Information on the fullfilment of the ticket, that is, who will be issuing the ticket. |
static class |
BookRQ.OriginDestinationOption
Details aboout one specific jouney between this origin and destination location. |
Constructor Summary | |
---|---|
BookRQ()
|
Method Summary | |
---|---|
void |
addOriginDestinationOption(BookRQ.OriginDestinationOption item)
Add a 'OriginDestinationOption' element item. |
void |
addRailBookInfoPaymentForm(PaymentForm item)
Add a 'PaymentForm' element item. |
void |
addRailBookInfoTravelerCount(TravelerCountGroup item)
Add a 'TravelerCount' element item. |
void |
addRailBookInfoTravelerName(PersonName item)
Add a 'TravelerName' element item. |
void |
clearOriginDestinationOptions()
Remove all 'OriginDestinationOption' element items. |
void |
clearRailBookInfoChoiceSelect()
Clear the choice selection. |
void |
clearRailBookInfoPaymentForms()
Remove all 'PaymentForm' element items. |
void |
clearRailBookInfoTravelerCounts()
Remove all 'TravelerCount' element items. |
void |
clearRailBookInfoTravelerNames()
Remove all 'TravelerName' element items. |
BookRQ.Fulfillment |
getFulfillment()
Get the 'Fulfillment' element value. |
BookRQ.OriginDestinationOption |
getOriginDestinationOption(int index)
Get 'OriginDestinationOption' element item by position. |
java.util.List<BookRQ.OriginDestinationOption> |
getOriginDestinationOptions()
Get the list of 'OriginDestinationOption' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
PaymentForm |
getRailBookInfoPaymentForm(int index)
Get 'PaymentForm' element item by position. |
java.util.List<PaymentForm> |
getRailBookInfoPaymentForms()
Get the list of 'PaymentForm' element items. |
RateQualifierCoreGroup |
getRailBookInfoRateQualifier()
Get the 'RateQualifierCoreGroup' attributeGroup value. |
TravelerCountGroup |
getRailBookInfoTravelerCount(int index)
Get 'TravelerCount' element item by position. |
java.util.List<TravelerCountGroup> |
getRailBookInfoTravelerCounts()
Get the list of 'TravelerCount' element items. |
PersonName |
getRailBookInfoTravelerName(int index)
Get 'TravelerName' element item by position. |
java.util.List<PersonName> |
getRailBookInfoTravelerNames()
Get the list of 'TravelerName' element items. |
boolean |
ifRailBookInfoTravelerCount()
Check if RailBookInfoTravelerCounts is current selection for choice. |
boolean |
ifRailBookInfoTravelerNames()
Check if RailBookInfoTravelerNames is current selection for choice. |
void |
setFulfillment(BookRQ.Fulfillment fulfillment)
Set the 'Fulfillment' element value. |
void |
setOriginDestinationOptions(java.util.List<BookRQ.OriginDestinationOption> list)
Set the list of 'OriginDestinationOption' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPOS(POS POS)
Set the 'POS' element value. |
void |
setRailBookInfoPaymentForms(java.util.List<PaymentForm> list)
Set the list of 'PaymentForm' element items. |
void |
setRailBookInfoRateQualifier(RateQualifierCoreGroup railBookInfoRateQualifier)
Set the 'RateQualifierCoreGroup' attributeGroup value. |
void |
setRailBookInfoTravelerCounts(java.util.List<TravelerCountGroup> list)
Set the list of 'TravelerCount' element items. |
void |
setRailBookInfoTravelerNames(java.util.List<PersonName> list)
Set the list of 'TravelerName' element items. |
int |
sizeOriginDestinationOptions()
Get the number of 'OriginDestinationOption' element items. |
int |
sizeRailBookInfoPaymentForms()
Get the number of 'PaymentForm' element items. |
int |
sizeRailBookInfoTravelerCounts()
Get the number of 'TravelerCount' element items. |
int |
sizeRailBookInfoTravelerNames()
Get the number of 'TravelerName' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public java.util.List<BookRQ.OriginDestinationOption> getOriginDestinationOptions()
public void setOriginDestinationOptions(java.util.List<BookRQ.OriginDestinationOption> list)
list
- public int sizeOriginDestinationOptions()
public void addOriginDestinationOption(BookRQ.OriginDestinationOption item)
item
- public BookRQ.OriginDestinationOption getOriginDestinationOption(int index)
index
-
public void clearOriginDestinationOptions()
public void clearRailBookInfoChoiceSelect()
public boolean ifRailBookInfoTravelerNames()
true
if selection, false
if notpublic java.util.List<PersonName> getRailBookInfoTravelerNames()
public void setRailBookInfoTravelerNames(java.util.List<PersonName> list)
list
- public int sizeRailBookInfoTravelerNames()
public void addRailBookInfoTravelerName(PersonName item)
item
- public PersonName getRailBookInfoTravelerName(int index)
index
-
public void clearRailBookInfoTravelerNames()
public boolean ifRailBookInfoTravelerCount()
true
if selection, false
if notpublic java.util.List<TravelerCountGroup> getRailBookInfoTravelerCounts()
public void setRailBookInfoTravelerCounts(java.util.List<TravelerCountGroup> list)
list
- public int sizeRailBookInfoTravelerCounts()
public void addRailBookInfoTravelerCount(TravelerCountGroup item)
item
- public TravelerCountGroup getRailBookInfoTravelerCount(int index)
index
-
public void clearRailBookInfoTravelerCounts()
public RateQualifierCoreGroup getRailBookInfoRateQualifier()
public void setRailBookInfoRateQualifier(RateQualifierCoreGroup railBookInfoRateQualifier)
railBookInfoRateQualifier
- public BookRQ.Fulfillment getFulfillment()
public void setFulfillment(BookRQ.Fulfillment fulfillment)
fulfillment
- public java.util.List<PaymentForm> getRailBookInfoPaymentForms()
public void setRailBookInfoPaymentForms(java.util.List<PaymentForm> list)
list
- public int sizeRailBookInfoPaymentForms()
public void addRailBookInfoPaymentForm(PaymentForm item)
item
- public PaymentForm getRailBookInfoPaymentForm(int index)
index
-
public void clearRailBookInfoPaymentForms()
public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |