org.ota.hotel
Class RFPTransientNotifRS

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

public class RFPTransientNotifRS
extends java.lang.Object

The transient RFP supports the buyer to supplier process of negotiating room rates and amenities for a given contract period. The buyer is the corporation negotiating directly with the supplier-- example, hotel chains or individual hotels.The OTA_HotelRFP_TransientNotifRS acknowledges receipt of the OTA_HotelRFP_TransientNotifRQ. 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_HotelRFP_TransientNotifRS">
   <xs:complexType>
     <xs:sequence>
       <xs:choice>
         <xs:sequence>
           <xs:element type="ns:SuccessType" name="Success"/>
           <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
           <xs:element name="Comments" minOccurs="0">
             <xs:complexType>
               <xs:sequence>
                 <xs:element type="ns:ParagraphType" name="Comment"/>
               </xs:sequence>
             </xs:complexType>
           </xs:element>
         </xs:sequence>
         <xs:element type="ns:ErrorsType" name="Errors"/>
       </xs:choice>
       <xs:element type="ns:UniqueID_Type" name="MessageID" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
 


Constructor Summary
RFPTransientNotifRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 Paragraph getComment()
          Get the 'Comment' element value.
 Errors getErrors()
          Get the 'Errors' element value.
 UniqueID getMessageID()
          Get the 'MessageID' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSuccess()
          Check if Success is current selection for choice.
 void setComment(Paragraph comment)
          Set the 'Comment' element value.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setMessageID(UniqueID messageID)
          Set the 'MessageID' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPTransientNotifRS

public RFPTransientNotifRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Success is current selection for choice.

Returns:
true if selection, false if not

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. Used in conjunction with the Success element to define one or more business errors.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. Used in conjunction with the Success element to define one or more business errors.

Parameters:
warnings -

getComment

public Paragraph getComment()
Get the 'Comment' element value. This is an open text field available to an organization to allow them to return a response indicating additional information is needed from the hotelier (e.g. not all requested information was supplied by the responding hotel and in order for the organization to review the proposal all information must be sent, please resend the information with all appropriate information).

Returns:
value

setComment

public void setComment(Paragraph comment)
Set the 'Comment' element value. This is an open text field available to an organization to allow them to return a response indicating additional information is needed from the hotelier (e.g. not all requested information was supplied by the responding hotel and in order for the organization to review the proposal all information must be sent, please resend the information with all appropriate information).

Parameters:
comment -

ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value. Errors is returned if the request was unable to be processed.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value. Errors is returned if the request was unable to be processed.

Parameters:
errors -

getMessageID

public UniqueID getMessageID()
Get the 'MessageID' element value. Corresponds to the MessageID used in OTA_HotelRFP_RQ.xsd and OTA_HotelRFP_NotifRQ.xsd. This is a UniqueID that is associated with the request message.

Returns:
value

setMessageID

public void setMessageID(UniqueID messageID)
Set the 'MessageID' element value. Corresponds to the MessageID used in OTA_HotelRFP_RQ.xsd and OTA_HotelRFP_NotifRQ.xsd. This is a UniqueID that is associated with the request message.

Parameters:
messageID -

getOTAPayloadStdAttributes

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

Returns:
value

setOTAPayloadStdAttributes

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

Parameters:
OTAPayloadStdAttributes -