org.ota.hotel
Class Properties.Property.Amenities.Amenity

java.lang.Object
  extended by org.ota.hotel.Properties.Property.Amenities.Amenity
Enclosing class:
Properties.Property.Amenities

public static class Properties.Property.Amenities.Amenity
extends java.lang.Object

This provides an area to pass amenity information. 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="Amenity" maxOccurs="unbounded">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:RoomAmenityPrefType">
         <xs:attribute type="xs:string" use="optional" name="PropertyAmenityType"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Properties.Property.Amenities.Amenity()
           
 
Method Summary
 java.lang.String getPropertyAmenity()
          Get the 'PropertyAmenityType' attribute value.
 RoomAmenityPref getRoomAmenityPref()
          Get the extension value.
 void setPropertyAmenity(java.lang.String propertyAmenity)
          Set the 'PropertyAmenityType' attribute value.
 void setRoomAmenityPref(RoomAmenityPref roomAmenityPref)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties.Property.Amenities.Amenity

public Properties.Property.Amenities.Amenity()
Method Detail

getRoomAmenityPref

public RoomAmenityPref getRoomAmenityPref()
Get the extension value.

Returns:
value

setRoomAmenityPref

public void setRoomAmenityPref(RoomAmenityPref roomAmenityPref)
Set the extension value.

Parameters:
roomAmenityPref -

getPropertyAmenity

public java.lang.String getPropertyAmenity()
Get the 'PropertyAmenityType' attribute value. Identifies the amenities offered by the hotel. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Returns:
value

setPropertyAmenity

public void setPropertyAmenity(java.lang.String propertyAmenity)
Set the 'PropertyAmenityType' attribute value. Identifies the amenities offered by the hotel. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Parameters:
propertyAmenity -