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

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

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

Collection of rates for a particular room type. 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="Rates" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Rate" maxOccurs="99">
         <!-- Reference to inner class Rate -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom.Rates.Rate
          Rate for a particular room type.
 
Constructor Summary
RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom.Rates()
           
 
Method Summary
 void addRate(RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom.Rates.Rate item)
          Add a 'Rate' element item.
 void clearRates()
          Remove all 'Rate' element items.
 RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom.Rates.Rate getRate(int index)
          Get 'Rate' element item by position.
 java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom.Rates.Rate> getRates()
          Get the list of 'Rate' element items.
 void setRates(java.util.List<RFPResponse.RFPResponseSegment.Sites.Site.Dates.Date.RoomBlock.StayDates.StayDate.StayDateRooms.StayDateRoom.Rates.Rate> list)
          Set the list of 'Rate' element items.
 int sizeRates()
          Get the number of 'Rate' 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.StayDateRoom.Rates

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

getRates

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

Returns:
list

setRates

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

Parameters:
list -

sizeRates

public int sizeRates()
Get the number of 'Rate' element items.

Returns:
count

addRate

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

Parameters:
item -

getRate

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

Parameters:
index -
Returns:
item

clearRates

public void clearRates()
Remove all 'Rate' element items.