org.ota.hotel
Class HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares

java.lang.Object
  extended by org.ota.hotel.HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares
Enclosing class:
HotelRoomList.RoomStays.RoomStay.Sequence

public static class HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares
extends java.lang.Object

Collection of shared rooms for room stay. 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:RoomSharesType" name="RoomShares" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomSharesType">
   <xs:sequence>
     <xs:element name="RoomShare" maxOccurs="unbounded">
       <!-- Reference to inner class RoomShare -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare
          Guests to share a room Schema fragment(s) for this class:
 
Constructor Summary
HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares()
           
 
Method Summary
 void addRoomShare(HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare item)
          Add a 'RoomShare' element item.
 void clearRoomShares()
          Remove all 'RoomShare' element items.
 HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare getRoomShare(int index)
          Get 'RoomShare' element item by position.
 java.util.List<HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare> getRoomShares()
          Get the list of 'RoomShare' element items.
 void setRoomShares(java.util.List<HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare> list)
          Set the list of 'RoomShare' element items.
 int sizeRoomShares()
          Get the number of 'RoomShare' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares

public HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares()
Method Detail

getRoomShares

public java.util.List<HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare> getRoomShares()
Get the list of 'RoomShare' element items. A collection of RoomShare.

Returns:
list

setRoomShares

public void setRoomShares(java.util.List<HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare> list)
Set the list of 'RoomShare' element items. A collection of RoomShare.

Parameters:
list -

sizeRoomShares

public int sizeRoomShares()
Get the number of 'RoomShare' element items.

Returns:
count

addRoomShare

public void addRoomShare(HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare item)
Add a 'RoomShare' element item.

Parameters:
item -

getRoomShare

public HotelRoomList.RoomStays.RoomStay.Sequence.RoomShares.RoomShare getRoomShare(int index)
Get 'RoomShare' element item by position.

Parameters:
index -
Returns:
item

clearRoomShares

public void clearRoomShares()
Remove all 'RoomShare' element items.