|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelRatePlan.Supplements
public static class HotelRatePlan.Supplements
A collection of supplements (e.g., meal plans or gala dinners). 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="Supplements" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Supplement" maxOccurs="unbounded"> <!-- Reference to inner class Supplement --> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
HotelRatePlan.Supplements.Supplement
Single supplement with conditions of application. |
Constructor Summary | |
---|---|
HotelRatePlan.Supplements()
|
Method Summary | |
---|---|
void |
addSupplement(HotelRatePlan.Supplements.Supplement item)
Add a 'Supplement' element item. |
void |
clearSupplements()
Remove all 'Supplement' element items. |
HotelRatePlan.Supplements.Supplement |
getSupplement(int index)
Get 'Supplement' element item by position. |
java.util.List<HotelRatePlan.Supplements.Supplement> |
getSupplements()
Get the list of 'Supplement' element items. |
void |
setSupplements(java.util.List<HotelRatePlan.Supplements.Supplement> list)
Set the list of 'Supplement' element items. |
int |
sizeSupplements()
Get the number of 'Supplement' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelRatePlan.Supplements()
Method Detail |
---|
public java.util.List<HotelRatePlan.Supplements.Supplement> getSupplements()
public void setSupplements(java.util.List<HotelRatePlan.Supplements.Supplement> list)
list
- public int sizeSupplements()
public void addSupplement(HotelRatePlan.Supplements.Supplement item)
item
- public HotelRatePlan.Supplements.Supplement getSupplement(int index)
index
-
public void clearSupplements()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |