org.ota.hotel
Class RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes

java.lang.Object
  extended by org.ota.hotel.RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes
Enclosing class:
RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation

public static class RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes
extends java.lang.Object

A Collection of room types. 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="RoomTypes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RoomType" maxOccurs="unbounded">
         <!-- Reference to inner class Room -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room
          Defines each room type included in Client negotiated rate.
 
Constructor Summary
RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes()
           
 
Method Summary
 void addRoom(RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room item)
          Add a 'RoomType' element item.
 void clearRooms()
          Remove all 'RoomType' element items.
 RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room getRoom(int index)
          Get 'RoomType' element item by position.
 java.util.List<RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room> getRooms()
          Get the list of 'RoomType' element items.
 void setRooms(java.util.List<RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room> list)
          Set the list of 'RoomType' element items.
 int sizeRooms()
          Get the number of 'RoomType' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes

public RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes()
Method Detail

getRooms

public java.util.List<RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room> getRooms()
Get the list of 'RoomType' element items.

Returns:
list

setRooms

public void setRooms(java.util.List<RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room> list)
Set the list of 'RoomType' element items.

Parameters:
list -

sizeRooms

public int sizeRooms()
Get the number of 'RoomType' element items.

Returns:
count

addRoom

public void addRoom(RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room item)
Add a 'RoomType' element item.

Parameters:
item -

getRoom

public RFPTransientDetails.RFPTransientResponses.RFPTransientResponse.AccountSpecificInformation.RoomTypes.Room getRoom(int index)
Get 'RoomType' element item by position.

Parameters:
index -
Returns:
item

clearRooms

public void clearRooms()
Remove all 'RoomType' element items.