org.ota.hotel
Class InvCountRQ.HotelInvCountRequest.RoomTypeCandidates

java.lang.Object
  extended by org.ota.hotel.InvCountRQ.HotelInvCountRequest.RoomTypeCandidates
Enclosing class:
InvCountRQ.HotelInvCountRequest

public static class InvCountRQ.HotelInvCountRequest.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
InvCountRQ.HotelInvCountRequest.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

InvCountRQ.HotelInvCountRequest.RoomTypeCandidates

public InvCountRQ.HotelInvCountRequest.RoomTypeCandidates()
Method Detail

getRoomTypeCandidates

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

Returns:
list

setRoomTypeCandidates

public void setRoomTypeCandidates(java.util.List<RoomStayCandidate> list)
Set the list of 'RoomTypeCandidate' element items. Element used to identify available 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.