org.ota.hotel
Class HotelReservation.RoomStays

java.lang.Object
  extended by org.ota.hotel.HotelReservation.RoomStays
Enclosing class:
HotelReservation

public static class HotelReservation.RoomStays
extends java.lang.Object

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" type="ns:RoomStaysType" name="RoomStays" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomStaysType">
   <xs:sequence>
     <xs:element name="RoomStay" maxOccurs="unbounded">
       <!-- Reference to inner class RoomStay -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class HotelReservation.RoomStays.RoomStay
          Details on the Room Stay including Guest Counts, Time Span of this Room Stay, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Room Stay and finally finacial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.
 
Constructor Summary
HotelReservation.RoomStays()
           
 
Method Summary
 void addRoomStay(HotelReservation.RoomStays.RoomStay item)
          Add a 'RoomStay' element item.
 void clearRoomStaies()
          Remove all 'RoomStay' element items.
 java.util.List<HotelReservation.RoomStays.RoomStay> getRoomStaies()
          Get the list of 'RoomStay' element items.
 HotelReservation.RoomStays.RoomStay getRoomStay(int index)
          Get 'RoomStay' element item by position.
 void setRoomStaies(java.util.List<HotelReservation.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

HotelReservation.RoomStays

public HotelReservation.RoomStays()
Method Detail

getRoomStaies

public java.util.List<HotelReservation.RoomStays.RoomStay> getRoomStaies()
Get the list of 'RoomStay' element items. A collection of RoomStay objects. Room stays associated with this reservation.

Returns:
list

setRoomStaies

public void setRoomStaies(java.util.List<HotelReservation.RoomStays.RoomStay> list)
Set the list of 'RoomStay' element items. A collection of RoomStay objects. Room stays associated with this reservation.

Parameters:
list -

sizeRoomStaies

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

Returns:
count

addRoomStay

public void addRoomStay(HotelReservation.RoomStays.RoomStay item)
Add a 'RoomStay' element item.

Parameters:
item -

getRoomStay

public HotelReservation.RoomStays.RoomStay getRoomStay(int index)
Get 'RoomStay' element item by position.

Parameters:
index -
Returns:
item

clearRoomStaies

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