org.ota.dynamicpkg
Class AvailRS.SearchResults.HotelResults.RoomStays

java.lang.Object
  extended by org.ota.dynamicpkg.AvailRS.SearchResults.HotelResults.RoomStays
Enclosing class:
AvailRS.SearchResults.HotelResults

public static class AvailRS.SearchResults.HotelResults.RoomStays
extends java.lang.Object

A collection of room stays. 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="RoomStays" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RoomStay" maxOccurs="unbounded">
         <!-- Reference to inner class RoomStay -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="MoreIndicator"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AvailRS.SearchResults.HotelResults.RoomStays.RoomStay
          Details on the Room Stay including Guest Counts, Time Span of this Room Stay, and financial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.
 
Constructor Summary
AvailRS.SearchResults.HotelResults.RoomStays()
           
 
Method Summary
 void addRoomStay(AvailRS.SearchResults.HotelResults.RoomStays.RoomStay item)
          Add a 'RoomStay' element item.
 void clearRoomStaies()
          Remove all 'RoomStay' element items.
 java.lang.String getMoreIndicator()
          Get the 'MoreIndicator' attribute value.
 java.util.List<AvailRS.SearchResults.HotelResults.RoomStays.RoomStay> getRoomStaies()
          Get the list of 'RoomStay' element items.
 AvailRS.SearchResults.HotelResults.RoomStays.RoomStay getRoomStay(int index)
          Get 'RoomStay' element item by position.
 void setMoreIndicator(java.lang.String moreIndicator)
          Set the 'MoreIndicator' attribute value.
 void setRoomStaies(java.util.List<AvailRS.SearchResults.HotelResults.RoomStays.RoomStay> list)
          Set the list of 'RoomStay' element items.
 int sizeRoomStaies()
          Get the number of 'RoomStay' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.SearchResults.HotelResults.RoomStays

public AvailRS.SearchResults.HotelResults.RoomStays()
Method Detail

getRoomStaies

public java.util.List<AvailRS.SearchResults.HotelResults.RoomStays.RoomStay> getRoomStaies()
Get the list of 'RoomStay' element items.

Returns:
list

setRoomStaies

public void setRoomStaies(java.util.List<AvailRS.SearchResults.HotelResults.RoomStays.RoomStay> list)
Set the list of 'RoomStay' element items.

Parameters:
list -

sizeRoomStaies

public int sizeRoomStaies()
Get the number of 'RoomStay' element items.

Returns:
count

addRoomStay

public void addRoomStay(AvailRS.SearchResults.HotelResults.RoomStays.RoomStay item)
Add a 'RoomStay' element item.

Parameters:
item -

getRoomStay

public AvailRS.SearchResults.HotelResults.RoomStays.RoomStay getRoomStay(int index)
Get 'RoomStay' element item by position.

Parameters:
index -
Returns:
item

clearRoomStaies

public void clearRoomStaies()
Remove all 'RoomStay' element items.


getMoreIndicator

public java.lang.String getMoreIndicator()
Get the 'MoreIndicator' attribute value. A text field used to indicate that there are additional rates that cannot fit in the availability response. The text returned should be meaningful in identifying where to begin the next block of data and sent in the availability request.

Returns:
value

setMoreIndicator

public void setMoreIndicator(java.lang.String moreIndicator)
Set the 'MoreIndicator' attribute value. A text field used to indicate that there are additional rates that cannot fit in the availability response. The text returned should be meaningful in identifying where to begin the next block of data and sent in the availability request.

Parameters:
moreIndicator -