org.ota.hotel
Class DescriptiveInfoRQ

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

public class DescriptiveInfoRQ
extends java.lang.Object

The OTA_HotelDescriptiveInfoRQ message allows a trading partner to query for specific hotel descriptive 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_HotelDescriptiveInfoRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element name="HotelDescriptiveInfos">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="HotelDescriptiveInfo" maxOccurs="unbounded">
               <!-- Reference to inner class HotelDescriptiveInfo -->
             </xs:element>
           </xs:sequence>
           <xs:attribute type="xs:string" use="optional" name="LangRequested"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class DescriptiveInfoRQ.HotelDescriptiveInfo
          This allows the requestor to indicate which specific information is requested if complete hotel details are not required.
 
Constructor Summary
DescriptiveInfoRQ()
           
 
Method Summary
 void addHotelDescriptiveInfo(DescriptiveInfoRQ.HotelDescriptiveInfo item)
          Add a 'HotelDescriptiveInfo' element item.
 void clearHotelDescriptiveInfos()
          Remove all 'HotelDescriptiveInfo' element items.
 DescriptiveInfoRQ.HotelDescriptiveInfo getHotelDescriptiveInfo(int index)
          Get 'HotelDescriptiveInfo' element item by position.
 java.util.List<DescriptiveInfoRQ.HotelDescriptiveInfo> getHotelDescriptiveInfos()
          Get the list of 'HotelDescriptiveInfo' element items.
 java.lang.String getHotelDescriptiveInfosLangRequested()
          Get the 'LangRequested' attribute value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 void setHotelDescriptiveInfos(java.util.List<DescriptiveInfoRQ.HotelDescriptiveInfo> list)
          Set the list of 'HotelDescriptiveInfo' element items.
 void setHotelDescriptiveInfosLangRequested(java.lang.String hotelDescriptiveInfosLangRequested)
          Set the 'LangRequested' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 int sizeHotelDescriptiveInfos()
          Get the number of 'HotelDescriptiveInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptiveInfoRQ

public DescriptiveInfoRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. The point-of-sale data, contained in the POS element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. The point-of-sale data, contained in the POS element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.

Parameters:
POS -

getHotelDescriptiveInfos

public java.util.List<DescriptiveInfoRQ.HotelDescriptiveInfo> getHotelDescriptiveInfos()
Get the list of 'HotelDescriptiveInfo' element items. Collection of items for data from multiple hotels.

Returns:
list

setHotelDescriptiveInfos

public void setHotelDescriptiveInfos(java.util.List<DescriptiveInfoRQ.HotelDescriptiveInfo> list)
Set the list of 'HotelDescriptiveInfo' element items. Collection of items for data from multiple hotels.

Parameters:
list -

sizeHotelDescriptiveInfos

public int sizeHotelDescriptiveInfos()
Get the number of 'HotelDescriptiveInfo' element items.

Returns:
count

addHotelDescriptiveInfo

public void addHotelDescriptiveInfo(DescriptiveInfoRQ.HotelDescriptiveInfo item)
Add a 'HotelDescriptiveInfo' element item.

Parameters:
item -

getHotelDescriptiveInfo

public DescriptiveInfoRQ.HotelDescriptiveInfo getHotelDescriptiveInfo(int index)
Get 'HotelDescriptiveInfo' element item by position.

Parameters:
index -
Returns:
item

clearHotelDescriptiveInfos

public void clearHotelDescriptiveInfos()
Remove all 'HotelDescriptiveInfo' element items.


getHotelDescriptiveInfosLangRequested

public java.lang.String getHotelDescriptiveInfosLangRequested()
Get the 'LangRequested' attribute value. The requested language in which the hotel property information should be sent.

Returns:
value

setHotelDescriptiveInfosLangRequested

public void setHotelDescriptiveInfosLangRequested(java.lang.String hotelDescriptiveInfosLangRequested)
Set the 'LangRequested' attribute value. The requested language in which the hotel property information should be sent.

Parameters:
hotelDescriptiveInfosLangRequested -

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 -