org.ota.hotel
Class Message

java.lang.Object
  extended by org.ota.hotel.Message

public class Message
extends java.lang.Object

If StartSeqNmbr and EndSeqNmbr are not sent, the request will be assumed to be for the last sequence number. 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="MessageType">
   <xs:sequence>
     <xs:element name="OriginalPayloadStdAttributes" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="xs:string" name="MessageContent" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
   <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   <xs:attribute type="xs:int" use="optional" name="StartSeqNmbr"/>
   <xs:attribute type="xs:int" use="optional" name="EndSeqNmbr"/>
   <xs:attribute type="xs:string" use="optional" name="MessageType"/>
   <xs:attribute type="xs:string" use="optional" name="ResponseValue"/>
   <xs:attribute type="xs:string" use="optional" name="RequestCode"/>
   <xs:attribute type="xs:string" use="optional" name="ReasonForRequest"/>
   <xs:attribute type="xs:string" use="optional" name="UserName"/>
   <xs:attribute type="xs:string" use="optional" name="RatePlanCode"/>
   <xs:attribute type="xs:string" use="optional" name="ConfirmationID"/>
   <xs:attribute type="xs:string" use="optional" name="ReservationID"/>
 </xs:complexType>
 


Constructor Summary
Message()
           
 
Method Summary
 java.lang.String getConfirmationID()
          Get the 'ConfirmationID' attribute value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 java.lang.Integer getEndSeqNmbr()
          Get the 'EndSeqNmbr' attribute value.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 java.lang.String getMessage()
          Get the 'MessageType' attribute value.
 java.lang.String getMessageContent()
          Get the 'MessageContent' element value.
 OTAPayloadStdAttributes getOriginalPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 java.lang.String getRatePlanCode()
          Get the 'RatePlanCode' attribute value.
 java.lang.String getReasonForRequest()
          Get the 'ReasonForRequest' attribute value.
 java.lang.String getRequestCode()
          Get the 'RequestCode' attribute value.
 java.lang.String getReservationID()
          Get the 'ReservationID' attribute value.
 java.lang.String getResponseValue()
          Get the 'ResponseValue' attribute value.
 java.lang.Integer getStartSeqNmbr()
          Get the 'StartSeqNmbr' attribute value.
 java.lang.String getUserName()
          Get the 'UserName' attribute value.
 void setConfirmationID(java.lang.String confirmationID)
          Set the 'ConfirmationID' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setEndSeqNmbr(java.lang.Integer endSeqNmbr)
          Set the 'EndSeqNmbr' attribute value.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setMessage(java.lang.String message)
          Set the 'MessageType' attribute value.
 void setMessageContent(java.lang.String messageContent)
          Set the 'MessageContent' element value.
 void setOriginalPayloadStdAttributes(OTAPayloadStdAttributes originalPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setRatePlanCode(java.lang.String ratePlanCode)
          Set the 'RatePlanCode' attribute value.
 void setReasonForRequest(java.lang.String reasonForRequest)
          Set the 'ReasonForRequest' attribute value.
 void setRequestCode(java.lang.String requestCode)
          Set the 'RequestCode' attribute value.
 void setReservationID(java.lang.String reservationID)
          Set the 'ReservationID' attribute value.
 void setResponseValue(java.lang.String responseValue)
          Set the 'ResponseValue' attribute value.
 void setStartSeqNmbr(java.lang.Integer startSeqNmbr)
          Set the 'StartSeqNmbr' attribute value.
 void setUserName(java.lang.String userName)
          Set the 'UserName' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Method Detail

getOriginalPayloadStdAttributes

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

Returns:
value

setOriginalPayloadStdAttributes

public void setOriginalPayloadStdAttributes(OTAPayloadStdAttributes originalPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
originalPayloadStdAttributes -

getMessageContent

public java.lang.String getMessageContent()
Get the 'MessageContent' element value. This container is designed to store the response message.

Returns:
value

setMessageContent

public void setMessageContent(java.lang.String messageContent)
Set the 'MessageContent' element value. This container is designed to store the response message.

Parameters:
messageContent -

getHotelReferenceGroup

public HotelReferenceGroup getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value.

Returns:
value

setHotelReferenceGroup

public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value.

Parameters:
hotelReferenceGroup -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getStartSeqNmbr

public java.lang.Integer getStartSeqNmbr()
Get the 'StartSeqNmbr' attribute value.

Returns:
value

setStartSeqNmbr

public void setStartSeqNmbr(java.lang.Integer startSeqNmbr)
Set the 'StartSeqNmbr' attribute value.

Parameters:
startSeqNmbr -

getEndSeqNmbr

public java.lang.Integer getEndSeqNmbr()
Get the 'EndSeqNmbr' attribute value.

Returns:
value

setEndSeqNmbr

public void setEndSeqNmbr(java.lang.Integer endSeqNmbr)
Set the 'EndSeqNmbr' attribute value.

Parameters:
endSeqNmbr -

getMessage

public java.lang.String getMessage()
Get the 'MessageType' attribute value.

Returns:
value

setMessage

public void setMessage(java.lang.String message)
Set the 'MessageType' attribute value.

Parameters:
message -

getResponseValue

public java.lang.String getResponseValue()
Get the 'ResponseValue' attribute value.

Returns:
value

setResponseValue

public void setResponseValue(java.lang.String responseValue)
Set the 'ResponseValue' attribute value.

Parameters:
responseValue -

getRequestCode

public java.lang.String getRequestCode()
Get the 'RequestCode' attribute value.

Returns:
value

setRequestCode

public void setRequestCode(java.lang.String requestCode)
Set the 'RequestCode' attribute value.

Parameters:
requestCode -

getReasonForRequest

public java.lang.String getReasonForRequest()
Get the 'ReasonForRequest' attribute value.

Returns:
value

setReasonForRequest

public void setReasonForRequest(java.lang.String reasonForRequest)
Set the 'ReasonForRequest' attribute value.

Parameters:
reasonForRequest -

getUserName

public java.lang.String getUserName()
Get the 'UserName' attribute value.

Returns:
value

setUserName

public void setUserName(java.lang.String userName)
Set the 'UserName' attribute value.

Parameters:
userName -

getRatePlanCode

public java.lang.String getRatePlanCode()
Get the 'RatePlanCode' attribute value.

Returns:
value

setRatePlanCode

public void setRatePlanCode(java.lang.String ratePlanCode)
Set the 'RatePlanCode' attribute value.

Parameters:
ratePlanCode -

getConfirmationID

public java.lang.String getConfirmationID()
Get the 'ConfirmationID' attribute value.

Returns:
value

setConfirmationID

public void setConfirmationID(java.lang.String confirmationID)
Set the 'ConfirmationID' attribute value.

Parameters:
confirmationID -

getReservationID

public java.lang.String getReservationID()
Get the 'ReservationID' attribute value.

Returns:
value

setReservationID

public void setReservationID(java.lang.String reservationID)
Set the 'ReservationID' attribute value.

Parameters:
reservationID -