|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.RoomStay.RoomRates.RoomRate.Features.Feature
public static class RoomStay.RoomRates.RoomRate.Features.Feature
Allows for the description of any features and/or amenities that are made available as part of this specific room and this specifiic rate plan, for example, large screen television, video/DVD player in room, room service breakfast, and details about that breakfast. 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="Feature" minOccurs="0" maxOccurs="99"> <xs:complexType> <xs:sequence> <xs:element type="ns:ParagraphType" name="Description" minOccurs="0" maxOccurs="5"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="RoomAmenity"/> <xs:attribute type="xs:int" use="optional" name="Quantity"/> <xs:attribute type="xs:string" use="optional" name="RoomViewCode"/> </xs:complexType> </xs:element>
Constructor Summary | |
---|---|
RoomStay.RoomRates.RoomRate.Features.Feature()
|
Method Summary | |
---|---|
void |
addDescription(Paragraph item)
Add a 'Description' element item. |
void |
clearDescriptions()
Remove all 'Description' element items. |
Paragraph |
getDescription(int index)
Get 'Description' element item by position. |
java.util.List<Paragraph> |
getDescriptions()
Get the list of 'Description' element items. |
java.lang.Integer |
getQuantity()
Get the 'Quantity' attribute value. |
java.lang.String |
getRoomAmenity()
Get the 'RoomAmenity' attribute value. |
java.lang.String |
getRoomViewCode()
Get the 'RoomViewCode' attribute value. |
void |
setDescriptions(java.util.List<Paragraph> list)
Set the list of 'Description' element items. |
void |
setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. |
void |
setRoomAmenity(java.lang.String roomAmenity)
Set the 'RoomAmenity' attribute value. |
void |
setRoomViewCode(java.lang.String roomViewCode)
Set the 'RoomViewCode' attribute value. |
int |
sizeDescriptions()
Get the number of 'Description' 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.Features.Feature()
Method Detail |
---|
public java.util.List<Paragraph> getDescriptions()
public void setDescriptions(java.util.List<Paragraph> list)
list
- public int sizeDescriptions()
public void addDescription(Paragraph item)
item
- public Paragraph getDescription(int index)
index
-
public void clearDescriptions()
public java.lang.String getRoomAmenity()
public void setRoomAmenity(java.lang.String roomAmenity)
roomAmenity
- public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity
- public java.lang.String getRoomViewCode()
public void setRoomViewCode(java.lang.String roomViewCode)
roomViewCode
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |