org.ota.hotel
Class RoomListRQ

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

public class RoomListRQ
extends java.lang.Object

The OTA_HotelRoomListRQ message applies to the group (meetings and conventions) market and the tour (wholesale) market. In both cases, travelers' reservations are booked into blocked space, instead of publicly available room inventory. This message provides the details of the individual guests staying in the blocked rooms. 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_HotelRoomListRQ">
   <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="HotelRoomLists">
         <xs:complexType>
           <xs:sequence>
             <xs:element type="ns:HotelRoomListType" name="HotelRoomList" maxOccurs="unbounded"/>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
RoomListRQ()
           
 
Method Summary
 void addHotelRoomList(HotelRoomList item)
          Add a 'HotelRoomList' element item.
 void clearHotelRoomLists()
          Remove all 'HotelRoomList' element items.
 HotelRoomList getHotelRoomList(int index)
          Get 'HotelRoomList' element item by position.
 java.util.List<HotelRoomList> getHotelRoomLists()
          Get the list of 'HotelRoomList' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setHotelRoomLists(java.util.List<HotelRoomList> list)
          Set the list of 'HotelRoomList' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 int sizeHotelRoomLists()
          Get the number of 'HotelRoomList' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoomListRQ

public RoomListRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. Identifies the group overall for example the association, tour operator, etc. This is independent of Hotel identification.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. Identifies the group overall for example the association, tour operator, etc. This is independent of Hotel identification.

Parameters:
uniqueID -

getHotelRoomLists

public java.util.List<HotelRoomList> getHotelRoomLists()
Get the list of 'HotelRoomList' element items. Collection of RoomList items which may be for multiple hotels or for multiple groups at a single hotel.

Returns:
list

setHotelRoomLists

public void setHotelRoomLists(java.util.List<HotelRoomList> list)
Set the list of 'HotelRoomList' element items. Collection of RoomList items which may be for multiple hotels or for multiple groups at a single hotel.

Parameters:
list -

sizeHotelRoomLists

public int sizeHotelRoomLists()
Get the number of 'HotelRoomList' element items.

Returns:
count

addHotelRoomList

public void addHotelRoomList(HotelRoomList item)
Add a 'HotelRoomList' element item.

Parameters:
item -

getHotelRoomList

public HotelRoomList getHotelRoomList(int index)
Get 'HotelRoomList' element item by position.

Parameters:
index -
Returns:
item

clearHotelRoomLists

public void clearHotelRoomLists()
Remove all 'HotelRoomList' element items.


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 -