org.ota.hotel
Class SearchRQ

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

public class SearchRQ
extends java.lang.Object

Identifies the initial request for hotel property data. 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_HotelSearchRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:HotelSearchCriteriaType" name="Criteria"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:MaxResponsesGroup"/>
     <xs:attributeGroup ref="ns:ResponseTypeGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MaxResponsesGroup">
   <xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
 </xs:attributeGroup>
 


Constructor Summary
SearchRQ()
           
 
Method Summary
 HotelSearchCriteria getCriteria()
          Get the 'Criteria' element value.
 java.lang.String getMaxResponses()
          Get the 'MaxResponses' attribute value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 ResponseTypeGroup getResponseTypeGroup()
          Get the 'ResponseTypeGroup' attributeGroup value.
 void setCriteria(HotelSearchCriteria criteria)
          Set the 'Criteria' element value.
 void setMaxResponses(java.lang.String maxResponses)
          Set the 'MaxResponses' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setResponseTypeGroup(ResponseTypeGroup responseTypeGroup)
          Set the 'ResponseTypeGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRQ

public SearchRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value.

Parameters:
POS -

getCriteria

public HotelSearchCriteria getCriteria()
Get the 'Criteria' element value.

Returns:
value

setCriteria

public void setCriteria(HotelSearchCriteria criteria)
Set the 'Criteria' element value.

Parameters:
criteria -

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 -

getMaxResponses

public java.lang.String getMaxResponses()
Get the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Returns:
value

setMaxResponses

public void setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Parameters:
maxResponses -

getResponseTypeGroup

public ResponseTypeGroup getResponseTypeGroup()
Get the 'ResponseTypeGroup' attributeGroup value.

Returns:
value

setResponseTypeGroup

public void setResponseTypeGroup(ResponseTypeGroup responseTypeGroup)
Set the 'ResponseTypeGroup' attributeGroup value.

Parameters:
responseTypeGroup -