org.ota.hotel
Class AvailRS.HotelStays

java.lang.Object
  extended by org.ota.hotel.AvailRS.HotelStays
Enclosing class:
AvailRS

public static class AvailRS.HotelStays
extends java.lang.Object

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="HotelStays" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="HotelStay" maxOccurs="unbounded">
         <!-- Reference to inner class HotelStay -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AvailRS.HotelStays.HotelStay
          A quick view of the requested hotels' general availability for each day in the requested range.
 
Constructor Summary
AvailRS.HotelStays()
           
 
Method Summary
 void addHotelStay(AvailRS.HotelStays.HotelStay item)
          Add a 'HotelStay' element item.
 void clearHotelStaies()
          Remove all 'HotelStay' element items.
 java.util.List<AvailRS.HotelStays.HotelStay> getHotelStaies()
          Get the list of 'HotelStay' element items.
 AvailRS.HotelStays.HotelStay getHotelStay(int index)
          Get 'HotelStay' element item by position.
 void setHotelStaies(java.util.List<AvailRS.HotelStays.HotelStay> list)
          Set the list of 'HotelStay' element items.
 int sizeHotelStaies()
          Get the number of 'HotelStay' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.HotelStays

public AvailRS.HotelStays()
Method Detail

getHotelStaies

public java.util.List<AvailRS.HotelStays.HotelStay> getHotelStaies()
Get the list of 'HotelStay' element items.

Returns:
list

setHotelStaies

public void setHotelStaies(java.util.List<AvailRS.HotelStays.HotelStay> list)
Set the list of 'HotelStay' element items.

Parameters:
list -

sizeHotelStaies

public int sizeHotelStaies()
Get the number of 'HotelStay' element items.

Returns:
count

addHotelStay

public void addHotelStay(AvailRS.HotelStays.HotelStay item)
Add a 'HotelStay' element item.

Parameters:
item -

getHotelStay

public AvailRS.HotelStays.HotelStay getHotelStay(int index)
Get 'HotelStay' element item by position.

Parameters:
index -
Returns:
item

clearHotelStaies

public void clearHotelStaies()
Remove all 'HotelStay' element items.