|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.LengthsOfStay
public class LengthsOfStay
A collection of LengthOfStay. 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="LengthsOfStayType">
<xs:sequence>
<xs:element name="LengthOfStay" minOccurs="0" maxOccurs="unbounded">
<!-- Reference to inner class LengthOfStay -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:boolean" use="optional" name="ArrivalDateBased"/>
<xs:attribute type="xs:int" use="optional" name="FixedPatternLength"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
LengthsOfStay.LengthOfStay
A collection of patterns defining allowable lengths of stay (LOS). |
| Constructor Summary | |
|---|---|
LengthsOfStay()
|
|
| Method Summary | |
|---|---|
void |
addLengthOfStay(LengthsOfStay.LengthOfStay item)
Add a 'LengthOfStay' element item. |
void |
clearLengthOfStaies()
Remove all 'LengthOfStay' element items. |
java.lang.Boolean |
getArrivalDateBased()
Get the 'ArrivalDateBased' attribute value. |
java.lang.Integer |
getFixedPatternLength()
Get the 'FixedPatternLength' attribute value. |
java.util.List<LengthsOfStay.LengthOfStay> |
getLengthOfStaies()
Get the list of 'LengthOfStay' element items. |
LengthsOfStay.LengthOfStay |
getLengthOfStay(int index)
Get 'LengthOfStay' element item by position. |
void |
setArrivalDateBased(java.lang.Boolean arrivalDateBased)
Set the 'ArrivalDateBased' attribute value. |
void |
setFixedPatternLength(java.lang.Integer fixedPatternLength)
Set the 'FixedPatternLength' attribute value. |
void |
setLengthOfStaies(java.util.List<LengthsOfStay.LengthOfStay> list)
Set the list of 'LengthOfStay' element items. |
int |
sizeLengthOfStaies()
Get the number of 'LengthOfStay' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LengthsOfStay()
| Method Detail |
|---|
public java.util.List<LengthsOfStay.LengthOfStay> getLengthOfStaies()
public void setLengthOfStaies(java.util.List<LengthsOfStay.LengthOfStay> list)
list - public int sizeLengthOfStaies()
public void addLengthOfStay(LengthsOfStay.LengthOfStay item)
item - public LengthsOfStay.LengthOfStay getLengthOfStay(int index)
index -
public void clearLengthOfStaies()
public java.lang.Boolean getArrivalDateBased()
public void setArrivalDateBased(java.lang.Boolean arrivalDateBased)
arrivalDateBased - public java.lang.Integer getFixedPatternLength()
public void setFixedPatternLength(java.lang.Integer fixedPatternLength)
fixedPatternLength -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||