org.ota.hotel
Class AvailGetRQ.HotelAvailRequest.RoomTypeCandidates

java.lang.Object
  extended by org.ota.hotel.AvailGetRQ.HotelAvailRequest.RoomTypeCandidates
Enclosing class:
AvailGetRQ.HotelAvailRequest

public static class AvailGetRQ.HotelAvailRequest.RoomTypeCandidates
extends java.lang.Object

Collection of room stay candidates. 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="RoomTypeCandidates" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:RoomStayCandidateType" name="RoomTypeCandidate" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailGetRQ.HotelAvailRequest.RoomTypeCandidates()
           
 
Method Summary
 void addRoomTypeCandidate(RoomStayCandidate item)
          Add a 'RoomTypeCandidate' element item.
 void clearRoomTypeCandidates()
          Remove all 'RoomTypeCandidate' element items.
 RoomStayCandidate getRoomTypeCandidate(int index)
          Get 'RoomTypeCandidate' element item by position.
 java.util.List<RoomStayCandidate> getRoomTypeCandidates()
          Get the list of 'RoomTypeCandidate' element items.
 void setRoomTypeCandidates(java.util.List<RoomStayCandidate> list)
          Set the list of 'RoomTypeCandidate' element items.
 int sizeRoomTypeCandidates()
          Get the number of 'RoomTypeCandidate' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailGetRQ.HotelAvailRequest.RoomTypeCandidates

public AvailGetRQ.HotelAvailRequest.RoomTypeCandidates()
Method Detail

getRoomTypeCandidates

public java.util.List<RoomStayCandidate> getRoomTypeCandidates()
Get the list of 'RoomTypeCandidate' element items. Element used to specify room products.

Returns:
list

setRoomTypeCandidates

public void setRoomTypeCandidates(java.util.List<RoomStayCandidate> list)
Set the list of 'RoomTypeCandidate' element items. Element used to specify room products.

Parameters:
list -

sizeRoomTypeCandidates

public int sizeRoomTypeCandidates()
Get the number of 'RoomTypeCandidate' element items.

Returns:
count

addRoomTypeCandidate

public void addRoomTypeCandidate(RoomStayCandidate item)
Add a 'RoomTypeCandidate' element item.

Parameters:
item -

getRoomTypeCandidate

public RoomStayCandidate getRoomTypeCandidate(int index)
Get 'RoomTypeCandidate' element item by position.

Parameters:
index -
Returns:
item

clearRoomTypeCandidates

public void clearRoomTypeCandidates()
Remove all 'RoomTypeCandidate' element items.