|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.GuestCount
public class GuestCount
A collection of GuestCount by age group. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GuestCountType">
<xs:sequence>
<xs:element name="GuestCount" maxOccurs="99">
<!-- Reference to inner class GuestCountInner -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:boolean" use="optional" name="IsPerRoom"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
GuestCount.GuestCountInner
A recurring element that identifies the number of guests and ages of the guests. |
| Constructor Summary | |
|---|---|
GuestCount()
|
|
| Method Summary | |
|---|---|
void |
addGuestCount(GuestCount.GuestCountInner item)
Add a 'GuestCount' element item. |
void |
clearGuestCounts()
Remove all 'GuestCount' element items. |
GuestCount.GuestCountInner |
getGuestCount(int index)
Get 'GuestCount' element item by position. |
java.util.List<GuestCount.GuestCountInner> |
getGuestCounts()
Get the list of 'GuestCount' element items. |
java.lang.Boolean |
getIsPerRoom()
Get the 'IsPerRoom' attribute value. |
void |
setGuestCounts(java.util.List<GuestCount.GuestCountInner> list)
Set the list of 'GuestCount' element items. |
void |
setIsPerRoom(java.lang.Boolean isPerRoom)
Set the 'IsPerRoom' attribute value. |
int |
sizeGuestCounts()
Get the number of 'GuestCount' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GuestCount()
| Method Detail |
|---|
public java.util.List<GuestCount.GuestCountInner> getGuestCounts()
public void setGuestCounts(java.util.List<GuestCount.GuestCountInner> list)
list - public int sizeGuestCounts()
public void addGuestCount(GuestCount.GuestCountInner item)
item - public GuestCount.GuestCountInner getGuestCount(int index)
index -
public void clearGuestCounts()
public java.lang.Boolean getIsPerRoom()
public void setIsPerRoom(java.lang.Boolean isPerRoom)
isPerRoom -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||