|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.RoomType
public class RoomType
Provides details regarding rooms, usually guest rooms. 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="RoomTypeType">
<xs:sequence>
<xs:element type="ns:ParagraphType" name="RoomDescription" minOccurs="0"/>
<xs:element type="ns:AdditionalDetailsType" name="AdditionalDetails" minOccurs="0"/>
<xs:element name="Amenities" minOccurs="0">
<!-- Reference to inner class Amenities -->
</xs:element>
<xs:element name="Occupancy" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class Occupancy -->
</xs:element>
<xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:int" use="optional" name="NumberOfUnits"/>
<xs:attribute type="xs:boolean" use="optional" name="IsRoom"/>
<xs:attribute type="xs:boolean" use="optional" name="IsConverted"/>
<xs:attribute type="xs:boolean" use="optional" name="IsAlternate"/>
<xs:attribute type="xs:string" use="optional" name="ReqdGuaranteeType"/>
<xs:attributeGroup ref="ns:RoomGroup"/>
</xs:complexType>
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
| Nested Class Summary | |
|---|---|
static class |
RoomType.Amenities
A collection of amenity information. |
static class |
RoomType.Occupancy
Provides parameters of occupancy limits. |
| Constructor Summary | |
|---|---|
RoomType()
|
|
| Method Summary | |
|---|---|
void |
addOccupancy(RoomType.Occupancy item)
Add a 'Occupancy' element item. |
void |
clearOccupancies()
Remove all 'Occupancy' element items. |
AdditionalDetails |
getAdditionalDetails()
Get the 'AdditionalDetails' element value. |
RoomType.Amenities |
getAmenities()
Get the 'Amenities' element value. |
java.lang.Boolean |
getIsAlternate()
Get the 'IsAlternate' attribute value. |
java.lang.Boolean |
getIsConverted()
Get the 'IsConverted' attribute value. |
java.lang.Boolean |
getIsRoom()
Get the 'IsRoom' attribute value. |
java.lang.Integer |
getNumberOfUnits()
Get the 'NumberOfUnits' attribute value. |
java.util.List<RoomType.Occupancy> |
getOccupancies()
Get the list of 'Occupancy' element items. |
RoomType.Occupancy |
getOccupancy(int index)
Get 'Occupancy' element item by position. |
java.lang.String |
getReqdGuarantee()
Get the 'ReqdGuaranteeType' attribute value. |
Paragraph |
getRoomDescription()
Get the 'RoomDescription' element value. |
RoomGroup |
getRoomGroup()
Get the 'RoomGroup' attributeGroup value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
void |
setAdditionalDetails(AdditionalDetails additionalDetails)
Set the 'AdditionalDetails' element value. |
void |
setAmenities(RoomType.Amenities amenities)
Set the 'Amenities' element value. |
void |
setIsAlternate(java.lang.Boolean isAlternate)
Set the 'IsAlternate' attribute value. |
void |
setIsConverted(java.lang.Boolean isConverted)
Set the 'IsConverted' attribute value. |
void |
setIsRoom(java.lang.Boolean isRoom)
Set the 'IsRoom' attribute value. |
void |
setNumberOfUnits(java.lang.Integer numberOfUnits)
Set the 'NumberOfUnits' attribute value. |
void |
setOccupancies(java.util.List<RoomType.Occupancy> list)
Set the list of 'Occupancy' element items. |
void |
setReqdGuarantee(java.lang.String reqdGuarantee)
Set the 'ReqdGuaranteeType' attribute value. |
void |
setRoomDescription(Paragraph roomDescription)
Set the 'RoomDescription' element value. |
void |
setRoomGroup(RoomGroup roomGroup)
Set the 'RoomGroup' attributeGroup value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
int |
sizeOccupancies()
Get the number of 'Occupancy' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoomType()
| Method Detail |
|---|
public Paragraph getRoomDescription()
public void setRoomDescription(Paragraph roomDescription)
roomDescription - public AdditionalDetails getAdditionalDetails()
public void setAdditionalDetails(AdditionalDetails additionalDetails)
additionalDetails - public RoomType.Amenities getAmenities()
public void setAmenities(RoomType.Amenities amenities)
amenities - public java.util.List<RoomType.Occupancy> getOccupancies()
public void setOccupancies(java.util.List<RoomType.Occupancy> list)
list - public int sizeOccupancies()
public void addOccupancy(RoomType.Occupancy item)
item - public RoomType.Occupancy getOccupancy(int index)
index -
public void clearOccupancies()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions - public java.lang.Integer getNumberOfUnits()
public void setNumberOfUnits(java.lang.Integer numberOfUnits)
numberOfUnits - public java.lang.Boolean getIsRoom()
public void setIsRoom(java.lang.Boolean isRoom)
isRoom - public java.lang.Boolean getIsConverted()
public void setIsConverted(java.lang.Boolean isConverted)
isConverted - public java.lang.Boolean getIsAlternate()
public void setIsAlternate(java.lang.Boolean isAlternate)
isAlternate - public java.lang.String getReqdGuarantee()
public void setReqdGuarantee(java.lang.String reqdGuarantee)
reqdGuarantee - public RoomGroup getRoomGroup()
public void setRoomGroup(RoomGroup roomGroup)
roomGroup -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||