|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Offer.Guests
public static class Offer.Guests
Collection of guests. 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="Guests" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Guest" maxOccurs="9"> <!-- Reference to inner class Guest --> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
Offer.Guests.Guest
Defines the guest(s) to which the offer applies. |
Constructor Summary | |
---|---|
Offer.Guests()
|
Method Summary | |
---|---|
void |
addGuest(Offer.Guests.Guest item)
Add a 'Guest' element item. |
void |
clearGuests()
Remove all 'Guest' element items. |
Offer.Guests.Guest |
getGuest(int index)
Get 'Guest' element item by position. |
java.util.List<Offer.Guests.Guest> |
getGuests()
Get the list of 'Guest' element items. |
void |
setGuests(java.util.List<Offer.Guests.Guest> list)
Set the list of 'Guest' element items. |
int |
sizeGuests()
Get the number of 'Guest' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Offer.Guests()
Method Detail |
---|
public java.util.List<Offer.Guests.Guest> getGuests()
public void setGuests(java.util.List<Offer.Guests.Guest> list)
list
- public int sizeGuests()
public void addGuest(Offer.Guests.Guest item)
item
- public Offer.Guests.Guest getGuest(int index)
index
-
public void clearGuests()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |