|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelDescriptiveContent.FacilityInfo.GuestRooms
public static class HotelDescriptiveContent.FacilityInfo.GuestRooms
Collection of guest room types that are comprised within the hotel. 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="GuestRooms" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="GuestRoom" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class GuestRoom --> </xs:element> </xs:sequence> <xs:attribute type="xs:int" use="optional" name="MaxOccupancy"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom
The accommodation occupied by a guest. |
Constructor Summary | |
---|---|
HotelDescriptiveContent.FacilityInfo.GuestRooms()
|
Method Summary | |
---|---|
void |
addGuestRoom(HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom item)
Add a 'GuestRoom' element item. |
void |
clearGuestRooms()
Remove all 'GuestRoom' element items. |
HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom |
getGuestRoom(int index)
Get 'GuestRoom' element item by position. |
java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom> |
getGuestRooms()
Get the list of 'GuestRoom' element items. |
java.lang.Integer |
getMaxOccupancy()
Get the 'MaxOccupancy' attribute value. |
void |
setGuestRooms(java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom> list)
Set the list of 'GuestRoom' element items. |
void |
setMaxOccupancy(java.lang.Integer maxOccupancy)
Set the 'MaxOccupancy' attribute value. |
int |
sizeGuestRooms()
Get the number of 'GuestRoom' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelDescriptiveContent.FacilityInfo.GuestRooms()
Method Detail |
---|
public java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom> getGuestRooms()
public void setGuestRooms(java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom> list)
list
- public int sizeGuestRooms()
public void addGuestRoom(HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom item)
item
- public HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom getGuestRoom(int index)
index
-
public void clearGuestRooms()
public java.lang.Integer getMaxOccupancy()
public void setMaxOccupancy(java.lang.Integer maxOccupancy)
maxOccupancy
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |