org.ota.hotel
Class RoomListRS.HotelRoomLists

java.lang.Object
  extended by org.ota.hotel.RoomListRS.HotelRoomLists
Enclosing class:
RoomListRS

public static class RoomListRS.HotelRoomLists
extends java.lang.Object

Collection of RoomList items which may be for multiple hotels or for multiple groups at a single hotel. 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="HotelRoomLists" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:HotelRoomListType" name="HotelRoomList" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
RoomListRS.HotelRoomLists()
           
 
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.
 void setHotelRoomLists(java.util.List<HotelRoomList> list)
          Set the list of 'HotelRoomList' element items.
 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

RoomListRS.HotelRoomLists

public RoomListRS.HotelRoomLists()
Method Detail

getHotelRoomLists

public java.util.List<HotelRoomList> getHotelRoomLists()
Get the list of 'HotelRoomList' element items.

Returns:
list

setHotelRoomLists

public void setHotelRoomLists(java.util.List<HotelRoomList> list)
Set the list of 'HotelRoomList' element items.

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.