org.ota.hotel
Class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms

java.lang.Object
  extended by org.ota.hotel.RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms
Enclosing class:
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate

public static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms
extends java.lang.Object

A collection of multiple StayDateRooms. 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="StayDateRooms" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="StayDateRoom" maxOccurs="unbounded">
         <!-- Reference to inner class StayDateRoom -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom
          A container for the room availability data.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms()
           
 
Method Summary
 void addStayDateRoom(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom item)
          Add a 'StayDateRoom' element item.
 void clearStayDateRooms()
          Remove all 'StayDateRoom' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom getStayDateRoom(int index)
          Get 'StayDateRoom' element item by position.
 java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom> getStayDateRooms()
          Get the list of 'StayDateRoom' element items.
 void setStayDateRooms(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom> list)
          Set the list of 'StayDateRoom' element items.
 int sizeStayDateRooms()
          Get the number of 'StayDateRoom' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms

public RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms()
Method Detail

getStayDateRooms

public java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom> getStayDateRooms()
Get the list of 'StayDateRoom' element items.

Returns:
list

setStayDateRooms

public void setStayDateRooms(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom> list)
Set the list of 'StayDateRoom' element items.

Parameters:
list -

sizeStayDateRooms

public int sizeStayDateRooms()
Get the number of 'StayDateRoom' element items.

Returns:
count

addStayDateRoom

public void addStayDateRoom(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom item)
Add a 'StayDateRoom' element item.

Parameters:
item -

getStayDateRoom

public RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom getStayDateRoom(int index)
Get 'StayDateRoom' element item by position.

Parameters:
index -
Returns:
item

clearStayDateRooms

public void clearStayDateRooms()
Remove all 'StayDateRoom' element items.