org.ota.hotel
Class BasicPropertyInfo.Recreation

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

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

Identifies recreation facilities or amenities of interest. 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="Recreation" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BasicPropertyInfo.Recreation()
           
 
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.Recreation

public BasicPropertyInfo.Recreation()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Used to identify a specific recreation activity. Refer to OpenTravel Code list Recreation Srvc Type (RST).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Used to identify a specific recreation activity. Refer to OpenTravel Code list Recreation Srvc Type (RST).

Parameters:
code -