|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.RoomStay.RoomRates.RoomRate.Restrictions
public static class RoomStay.RoomRates.RoomRate.Restrictions
A collections of restrictions. 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="Restrictions" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Restriction" maxOccurs="unbounded"> <!-- Reference to inner class Restriction --> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
RoomStay.RoomRates.RoomRate.Restrictions.Restriction
Information on the restriction associated with the RoomRate element. |
Constructor Summary | |
---|---|
RoomStay.RoomRates.RoomRate.Restrictions()
|
Method Summary | |
---|---|
void |
addRestriction(RoomStay.RoomRates.RoomRate.Restrictions.Restriction item)
Add a 'Restriction' element item. |
void |
clearRestrictions()
Remove all 'Restriction' element items. |
RoomStay.RoomRates.RoomRate.Restrictions.Restriction |
getRestriction(int index)
Get 'Restriction' element item by position. |
java.util.List<RoomStay.RoomRates.RoomRate.Restrictions.Restriction> |
getRestrictions()
Get the list of 'Restriction' element items. |
void |
setRestrictions(java.util.List<RoomStay.RoomRates.RoomRate.Restrictions.Restriction> list)
Set the list of 'Restriction' element items. |
int |
sizeRestrictions()
Get the number of 'Restriction' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoomStay.RoomRates.RoomRate.Restrictions()
Method Detail |
---|
public java.util.List<RoomStay.RoomRates.RoomRate.Restrictions.Restriction> getRestrictions()
public void setRestrictions(java.util.List<RoomStay.RoomRates.RoomRate.Restrictions.Restriction> list)
list
- public int sizeRestrictions()
public void addRestriction(RoomStay.RoomRates.RoomRate.Restrictions.Restriction item)
item
- public RoomStay.RoomRates.RoomRate.Restrictions.Restriction getRestriction(int index)
index
-
public void clearRestrictions()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |