org.ota.hotel
Class HotelSearchCriterion.Recreation

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

public static class HotelSearchCriterion.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
HotelSearchCriterion.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

HotelSearchCriterion.Recreation

public HotelSearchCriterion.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 -