|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.itin.TravelSegment.Reservation.RoomTypes.Room
public static class TravelSegment.Reservation.RoomTypes.Room
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" type="ns:RoomTypeLiteType" name="RoomType" maxOccurs="9"/>
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomTypeLiteType">
<xs:sequence>
<xs:element type="ns:ParagraphType" name="RoomDescription" minOccurs="0"/>
<xs:element type="ns:RoomAmenityPrefType" name="Amenity" minOccurs="0" maxOccurs="5"/>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="RoomTypeCode"/>
<xs:attribute type="xs:int" use="optional" name="NumberOfUnits"/>
</xs:complexType>
| Constructor Summary | |
|---|---|
TravelSegment.Reservation.RoomTypes.Room()
|
|
| Method Summary | |
|---|---|
void |
addAmenity(RoomAmenityPref item)
Add a 'Amenity' element item. |
void |
clearAmenities()
Remove all 'Amenity' element items. |
java.util.List<RoomAmenityPref> |
getAmenities()
Get the list of 'Amenity' element items. |
RoomAmenityPref |
getAmenity(int index)
Get 'Amenity' element item by position. |
java.lang.Integer |
getNumberOfUnits()
Get the 'NumberOfUnits' attribute value. |
Paragraph |
getRoomDescription()
Get the 'RoomDescription' element value. |
java.lang.String |
getRoomTypeCode()
Get the 'RoomTypeCode' attribute value. |
void |
setAmenities(java.util.List<RoomAmenityPref> list)
Set the list of 'Amenity' element items. |
void |
setNumberOfUnits(java.lang.Integer numberOfUnits)
Set the 'NumberOfUnits' attribute value. |
void |
setRoomDescription(Paragraph roomDescription)
Set the 'RoomDescription' element value. |
void |
setRoomTypeCode(java.lang.String roomTypeCode)
Set the 'RoomTypeCode' attribute value. |
int |
sizeAmenities()
Get the number of 'Amenity' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TravelSegment.Reservation.RoomTypes.Room()
| Method Detail |
|---|
public Paragraph getRoomDescription()
public void setRoomDescription(Paragraph roomDescription)
roomDescription - public java.util.List<RoomAmenityPref> getAmenities()
public void setAmenities(java.util.List<RoomAmenityPref> list)
list - public int sizeAmenities()
public void addAmenity(RoomAmenityPref item)
item - public RoomAmenityPref getAmenity(int index)
index -
public void clearAmenities()
public java.lang.String getRoomTypeCode()
public void setRoomTypeCode(java.lang.String roomTypeCode)
roomTypeCode - public java.lang.Integer getNumberOfUnits()
public void setNumberOfUnits(java.lang.Integer numberOfUnits)
numberOfUnits -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||