org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges
Enclosing class:
HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo

public static class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges
extends java.lang.Object

A collection of rate range information. 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="RateRanges" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RateRange" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class RateRange -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange
          Provides rate range information.
 
Constructor Summary
HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges()
           
 
Method Summary
 void addRateRange(HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange item)
          Add a 'RateRange' element item.
 void clearRateRanges()
          Remove all 'RateRange' element items.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange getRateRange(int index)
          Get 'RateRange' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange> getRateRanges()
          Get the list of 'RateRange' element items.
 void setRateRanges(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange> list)
          Set the list of 'RateRange' element items.
 int sizeRateRanges()
          Get the number of 'RateRange' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges

public HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges()
Method Detail

getRateRanges

public java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange> getRateRanges()
Get the list of 'RateRange' element items.

Returns:
list

setRateRanges

public void setRateRanges(java.util.List<HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange> list)
Set the list of 'RateRange' element items.

Parameters:
list -

sizeRateRanges

public int sizeRateRanges()
Get the number of 'RateRange' element items.

Returns:
count

addRateRange

public void addRateRange(HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange item)
Add a 'RateRange' element item.

Parameters:
item -

getRateRange

public HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges.RateRange getRateRange(int index)
Get 'RateRange' element item by position.

Parameters:
index -
Returns:
item

clearRateRanges

public void clearRateRanges()
Remove all 'RateRange' element items.