org.ota.hotel
Class HotelDescriptiveContent.AreaInfo.Recreations.Recreation

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.AreaInfo.Recreations.Recreation
Enclosing class:
HotelDescriptiveContent.AreaInfo.Recreations

public static class HotelDescriptiveContent.AreaInfo.Recreations.Recreation
extends java.lang.Object

A recreation facility available to the guest. These may or may not be operated by the hotel or located at the hotel. 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" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ContactInfoType" name="Contact" minOccurs="0"/>
       <xs:element type="ns:OperationSchedulesPlusChargeType" name="OperationSchedules" minOccurs="0"/>
       <xs:element type="ns:RefPointsType" name="RefPoints" minOccurs="0"/>
       <xs:element name="MultimediaDescriptions" minOccurs="0">
         <!-- Reference to inner class MultimediaDescriptions -->
       </xs:element>
       <xs:element name="RecreationDetails" minOccurs="0">
         <!-- Reference to inner class RecreationDetails -->
       </xs:element>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:string" use="optional" name="Name"/>
     <xs:attribute type="xs:string" use="optional" name="ProximityCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="Included"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
     <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
     <xs:attribute type="xs:int" use="optional" name="Sort"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class HotelDescriptiveContent.AreaInfo.Recreations.Recreation.MultimediaDescriptions
          Multimedia information about the recreation facility.
static class HotelDescriptiveContent.AreaInfo.Recreations.Recreation.RecreationDetails
          A collection of recreation details.
 
Constructor Summary
HotelDescriptiveContent.AreaInfo.Recreations.Recreation()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 ContactInfo getContact()
          Get the 'Contact' element value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.Boolean getIncluded()
          Get the 'Included' attribute value.
 HotelDescriptiveContent.AreaInfo.Recreations.Recreation.MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 OperationSchedulesPlusCharge getOperationSchedules()
          Get the 'OperationSchedules' element value.
 java.lang.String getProximityCode()
          Get the 'ProximityCode' attribute value.
 HotelDescriptiveContent.AreaInfo.Recreations.Recreation.RecreationDetails getRecreationDetails()
          Get the 'RecreationDetails' element value.
 RefPoints getRefPoints()
          Get the 'RefPoints' element value.
 java.lang.Integer getSort()
          Get the 'Sort' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setContact(ContactInfo contact)
          Set the 'Contact' element value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setIncluded(java.lang.Boolean included)
          Set the 'Included' attribute value.
 void setMultimediaDescriptions(HotelDescriptiveContent.AreaInfo.Recreations.Recreation.MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
          Set the 'OperationSchedules' element value.
 void setProximityCode(java.lang.String proximityCode)
          Set the 'ProximityCode' attribute value.
 void setRecreationDetails(HotelDescriptiveContent.AreaInfo.Recreations.Recreation.RecreationDetails recreationDetails)
          Set the 'RecreationDetails' element value.
 void setRefPoints(RefPoints refPoints)
          Set the 'RefPoints' element value.
 void setSort(java.lang.Integer sort)
          Set the 'Sort' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AreaInfo.Recreations.Recreation

public HotelDescriptiveContent.AreaInfo.Recreations.Recreation()
Method Detail

getContact

public ContactInfo getContact()
Get the 'Contact' element value. Used to pass contact information of a specific recreation facility.

Returns:
value

setContact

public void setContact(ContactInfo contact)
Set the 'Contact' element value. Used to pass contact information of a specific recreation facility.

Parameters:
contact -

getOperationSchedules

public OperationSchedulesPlusCharge getOperationSchedules()
Get the 'OperationSchedules' element value. Collection of days, times, and fees.

Returns:
value

setOperationSchedules

public void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
Set the 'OperationSchedules' element value. Collection of days, times, and fees.

Parameters:
operationSchedules -

getRefPoints

public RefPoints getRefPoints()
Get the 'RefPoints' element value. Identifies where the recreation facility is located.

Returns:
value

setRefPoints

public void setRefPoints(RefPoints refPoints)
Set the 'RefPoints' element value. Identifies where the recreation facility is located.

Parameters:
refPoints -

getMultimediaDescriptions

public HotelDescriptiveContent.AreaInfo.Recreations.Recreation.MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(HotelDescriptiveContent.AreaInfo.Recreations.Recreation.MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value.

Parameters:
multimediaDescriptions -

getRecreationDetails

public HotelDescriptiveContent.AreaInfo.Recreations.Recreation.RecreationDetails getRecreationDetails()
Get the 'RecreationDetails' element value.

Returns:
value

setRecreationDetails

public void setRecreationDetails(HotelDescriptiveContent.AreaInfo.Recreations.Recreation.RecreationDetails recreationDetails)
Set the 'RecreationDetails' element value.

Parameters:
recreationDetails -

getDescriptiveText

public java.lang.String getDescriptiveText()
Get the 'DescriptiveText' element value. Descriptive text that describes the recreation facility.

Returns:
value

setDescriptiveText

public void setDescriptiveText(java.lang.String descriptiveText)
Set the 'DescriptiveText' element value. Descriptive text that describes the recreation facility.

Parameters:
descriptiveText -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value.

Parameters:
codeInfoGroup -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Recreation Srvc Type (RST).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Recreation Srvc Type (RST).

Parameters:
code -

getName

public java.lang.String getName()
Get the 'Name' attribute value.

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value.

Parameters:
name -

getProximityCode

public java.lang.String getProximityCode()
Get the 'ProximityCode' attribute value. Denotes whether a recreation is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Returns:
value

setProximityCode

public void setProximityCode(java.lang.String proximityCode)
Set the 'ProximityCode' attribute value. Denotes whether a recreation is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Parameters:
proximityCode -

getIncluded

public java.lang.Boolean getIncluded()
Get the 'Included' attribute value.

Returns:
value

setIncluded

public void setIncluded(java.lang.Boolean included)
Set the 'Included' attribute value.

Parameters:
included -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether an amenity or service is offered. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether an amenity or service is offered. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Parameters:
existsCode -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -

getSort

public java.lang.Integer getSort()
Get the 'Sort' attribute value. Used to define the display order.

Returns:
value

setSort

public void setSort(java.lang.Integer sort)
Set the 'Sort' attribute value. Used to define the display order.

Parameters:
sort -