org.ota.hotel
Class BasicPropertyInfo.HotelAmenity

java.lang.Object
  extended by org.ota.hotel.BasicPropertyInfo.HotelAmenity
Enclosing class:
BasicPropertyInfo

public static class BasicPropertyInfo.HotelAmenity
extends java.lang.Object

Hotel-level amenities (pool, etc) for searching. 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="HotelAmenity" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BasicPropertyInfo.HotelAmenity()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPropertyInfo.HotelAmenity

public BasicPropertyInfo.HotelAmenity()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Parameters:
code -