org.ota.misc
Class ReadRQ

java.lang.Object
  extended by org.ota.misc.ReadRQ

public class ReadRQ
extends java.lang.Object

A generic message, available as an action on several OpenTravel services which requests a server to read and return the document type identified by the UniqueID element. 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_ReadRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
       <xs:element name="ReadRequests" minOccurs="0">
         <!-- Reference to inner class ReadRequests -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ReqRespVersion"/>
     <xs:attribute type="xs:string" name="ReservationType"/>
     <xs:attribute type="xs:boolean" use="optional" name="ReturnListIndicator"/>
     <xs:attributeGroup ref="ns:ResponseGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion">
   <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class ReadRQ.ReadRequests
          A grouping of Read Requests Schema fragment(s) for this class:
 
Constructor Summary
ReadRQ()
           
 
Method Summary
 OTAPayloadStdAttributes getPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 ReadRQ.ReadRequests getReadRequests()
          Get the 'ReadRequests' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 java.lang.String getReservation()
          Get the 'ReservationType' attribute value.
 ResponseGroup getResponseGroup()
          Get the 'ResponseGroup' attributeGroup value.
 java.lang.Boolean getReturnListIndicator()
          Get the 'ReturnListIndicator' attribute value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setReadRequests(ReadRQ.ReadRequests readRequests)
          Set the 'ReadRequests' element value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 void setReservation(java.lang.String reservation)
          Set the 'ReservationType' attribute value.
 void setResponseGroup(ResponseGroup responseGroup)
          Set the 'ResponseGroup' attributeGroup value.
 void setReturnListIndicator(java.lang.Boolean returnListIndicator)
          Set the 'ReturnListIndicator' attribute value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadRQ

public ReadRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Identifies the party or connection channel making the request.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Identifies the party or connection channel making the request.

Parameters:
POS -

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. A reference to identify the booking.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. A reference to identify the booking.

Parameters:
uniqueID -

getReadRequests

public ReadRQ.ReadRequests getReadRequests()
Get the 'ReadRequests' element value.

Returns:
value

setReadRequests

public void setReadRequests(ReadRQ.ReadRequests readRequests)
Set the 'ReadRequests' element value.

Parameters:
readRequests -

getPayloadStdAttributes

public OTAPayloadStdAttributes getPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setPayloadStdAttributes

public void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
payloadStdAttributes -

getReqRespVersion

public java.lang.String getReqRespVersion()
Get the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Returns:
value

setReqRespVersion

public void setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Parameters:
reqRespVersion -

getReservation

public java.lang.String getReservation()
Get the 'ReservationType' attribute value. To specify the type of reservation, Global, Air, Hotel, Car, Package, or Golf, that is being requested. Refer to OpenTravel Code List Travel Sector (TVS).

Returns:
value

setReservation

public void setReservation(java.lang.String reservation)
Set the 'ReservationType' attribute value. To specify the type of reservation, Global, Air, Hotel, Car, Package, or Golf, that is being requested. Refer to OpenTravel Code List Travel Sector (TVS).

Parameters:
reservation -

getReturnListIndicator

public java.lang.Boolean getReturnListIndicator()
Get the 'ReturnListIndicator' attribute value. To indicate if a list should always be returned even when only one reservation matches the input criteria. The default is to return the reservation record. If set to true, then always return a list.

Returns:
value

setReturnListIndicator

public void setReturnListIndicator(java.lang.Boolean returnListIndicator)
Set the 'ReturnListIndicator' attribute value. To indicate if a list should always be returned even when only one reservation matches the input criteria. The default is to return the reservation record. If set to true, then always return a list.

Parameters:
returnListIndicator -

getResponseGroup

public ResponseGroup getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. Used to indicate a maximum number of items desired in the list response message or when used for subsequent retrievals of additional data the MoreDataEchoToken determines where to continue the list.

Returns:
value

setResponseGroup

public void setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. Used to indicate a maximum number of items desired in the list response message or when used for subsequent retrievals of additional data the MoreDataEchoToken determines where to continue the list.

Parameters:
responseGroup -