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

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

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

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


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate
          Contains the date or date span for the room type availability.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates()
           
 
Method Summary
 void addStayDate(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate item)
          Add a 'StayDate' element item.
 void clearStayDates()
          Remove all 'StayDate' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate getStayDate(int index)
          Get 'StayDate' element item by position.
 java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate> getStayDates()
          Get the list of 'StayDate' element items.
 void setStayDates(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate> list)
          Set the list of 'StayDate' element items.
 int sizeStayDates()
          Get the number of 'StayDate' 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

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

getStayDates

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

Returns:
list

setStayDates

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

Parameters:
list -

sizeStayDates

public int sizeStayDates()
Get the number of 'StayDate' element items.

Returns:
count

addStayDate

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

Parameters:
item -

getStayDate

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

Parameters:
index -
Returns:
item

clearStayDates

public void clearStayDates()
Remove all 'StayDate' element items.