| 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.SellableProducts.SellableProduct.GuestRoom.Amenities
public static class SellableProducts.SellableProduct.GuestRoom.Amenities
Collection of room level amenities. 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="Amenities" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Amenity" maxOccurs="unbounded">
         <!-- Reference to inner class Amenity -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
| Nested Class Summary | |
|---|---|
static class | 
SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity
Amenity Code Attribute is used to hold actual amenity code.  | 
| Constructor Summary | |
|---|---|
SellableProducts.SellableProduct.GuestRoom.Amenities()
 | 
|
| Method Summary | |
|---|---|
 void | 
addAmenity(SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity item)
Add a 'Amenity' element item.  | 
 void | 
clearAmenities()
Remove all 'Amenity' element items.  | 
 java.util.List<SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity> | 
getAmenities()
Get the list of 'Amenity' element items.  | 
 SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity | 
getAmenity(int index)
Get 'Amenity' element item by position.  | 
 void | 
setAmenities(java.util.List<SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity> list)
Set the list of 'Amenity' element items.  | 
 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 SellableProducts.SellableProduct.GuestRoom.Amenities()
| Method Detail | 
|---|
public java.util.List<SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity> getAmenities()
public void setAmenities(java.util.List<SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity> list)
list - public int sizeAmenities()
public void addAmenity(SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity item)
item - public SellableProducts.SellableProduct.GuestRoom.Amenities.Amenity getAmenity(int index)
index - 
public void clearAmenities()
  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||