org.ota.hotel
Class HotelDescriptiveContent.AreaInfo.Attractions.Attraction

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.AreaInfo.Attractions.Attraction
Enclosing class:
HotelDescriptiveContent.AreaInfo.Attractions

public static class HotelDescriptiveContent.AreaInfo.Attractions.Attraction
extends java.lang.Object

This identifies an item of local interest (e.g. theme park, airport, museum, rail station, university). 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="Attraction" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Contact" minOccurs="0">
         <!-- Reference to inner class Contact -->
       </xs:element>
       <xs:element type="ns:OperationSchedulesPlusChargeType" name="OperationSchedules" minOccurs="0"/>
       <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
       <xs:element type="ns:RefPointsType" name="RefPoints" minOccurs="0"/>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="AttractionCategoryCode"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:string" use="optional" name="AttractionName"/>
     <xs:attribute type="xs:float" use="optional" name="AttractionFee"/>
     <xs:attribute type="xs:boolean" use="optional" name="CourtesyPhone"/>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attributeGroup ref="ns:CodeListGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ProximityCode"/>
     <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.Attractions.Attraction.Contact
          Used to pass contact information of a specific attraction.
 
Constructor Summary
HotelDescriptiveContent.AreaInfo.Attractions.Attraction()
           
 
Method Summary
 java.lang.String getAttractionCategoryCode()
          Get the 'AttractionCategoryCode' attribute value.
 java.lang.Float getAttractionFee()
          Get the 'AttractionFee' attribute value.
 java.lang.String getAttractionName()
          Get the 'AttractionName' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 CodeListGroup getCodeListGroup()
          Get the 'CodeListGroup' attributeGroup value.
 HotelDescriptiveContent.AreaInfo.Attractions.Attraction.Contact getContact()
          Get the 'Contact' element value.
 java.lang.Boolean getCourtesyPhone()
          Get the 'CourtesyPhone' attribute value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 OperationSchedulesPlusCharge getOperationSchedules()
          Get the 'OperationSchedules' element value.
 java.lang.String getProximityCode()
          Get the 'ProximityCode' attribute value.
 RefPoints getRefPoints()
          Get the 'RefPoints' element value.
 java.lang.Integer getSort()
          Get the 'Sort' attribute value.
 void setAttractionCategoryCode(java.lang.String attractionCategoryCode)
          Set the 'AttractionCategoryCode' attribute value.
 void setAttractionFee(java.lang.Float attractionFee)
          Set the 'AttractionFee' attribute value.
 void setAttractionName(java.lang.String attractionName)
          Set the 'AttractionName' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setCodeListGroup(CodeListGroup codeListGroup)
          Set the 'CodeListGroup' attributeGroup value.
 void setContact(HotelDescriptiveContent.AreaInfo.Attractions.Attraction.Contact contact)
          Set the 'Contact' element value.
 void setCourtesyPhone(java.lang.Boolean courtesyPhone)
          Set the 'CourtesyPhone' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
          Set the 'OperationSchedules' element value.
 void setProximityCode(java.lang.String proximityCode)
          Set the 'ProximityCode' attribute 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.Attractions.Attraction

public HotelDescriptiveContent.AreaInfo.Attractions.Attraction()
Method Detail

getContact

public HotelDescriptiveContent.AreaInfo.Attractions.Attraction.Contact getContact()
Get the 'Contact' element value.

Returns:
value

setContact

public void setContact(HotelDescriptiveContent.AreaInfo.Attractions.Attraction.Contact contact)
Set the 'Contact' element value.

Parameters:
contact -

getOperationSchedules

public OperationSchedulesPlusCharge getOperationSchedules()
Get the 'OperationSchedules' element value.

Returns:
value

setOperationSchedules

public void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
Set the 'OperationSchedules' element value.

Parameters:
operationSchedules -

getMultimediaDescriptions

public MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value. Multimedia information about the attraction.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value. Multimedia information about the attraction.

Parameters:
multimediaDescriptions -

getRefPoints

public RefPoints getRefPoints()
Get the 'RefPoints' element value.

Returns:
value

setRefPoints

public void setRefPoints(RefPoints refPoints)
Set the 'RefPoints' element value.

Parameters:
refPoints -

getDescriptiveText

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

Returns:
value

setDescriptiveText

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

Parameters:
descriptiveText -

getAttractionCategoryCode

public java.lang.String getAttractionCategoryCode()
Get the 'AttractionCategoryCode' attribute value. The code for the type of attraction in the proximity of the hotel facility. Refer to OpenTravel Code List Attraction Category Code (ACC).

Returns:
value

setAttractionCategoryCode

public void setAttractionCategoryCode(java.lang.String attractionCategoryCode)
Set the 'AttractionCategoryCode' attribute value. The code for the type of attraction in the proximity of the hotel facility. Refer to OpenTravel Code List Attraction Category Code (ACC).

Parameters:
attractionCategoryCode -

getCodeInfoGroup

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

Returns:
value

setCodeInfoGroup

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

Parameters:
codeInfoGroup -

getAttractionName

public java.lang.String getAttractionName()
Get the 'AttractionName' attribute value. The name of the local attraction.

Returns:
value

setAttractionName

public void setAttractionName(java.lang.String attractionName)
Set the 'AttractionName' attribute value. The name of the local attraction.

Parameters:
attractionName -

getAttractionFee

public java.lang.Float getAttractionFee()
Get the 'AttractionFee' attribute value.

Returns:
value

setAttractionFee

public void setAttractionFee(java.lang.Float attractionFee)
Set the 'AttractionFee' attribute value.

Parameters:
attractionFee -

getCourtesyPhone

public java.lang.Boolean getCourtesyPhone()
Get the 'CourtesyPhone' attribute value. This signifies whether or not a courtesy phone for contacting the hotel is available at the attraction (e.g. often times these are availabe in airports). When true, the phone is available.

Returns:
value

setCourtesyPhone

public void setCourtesyPhone(java.lang.Boolean courtesyPhone)
Set the 'CourtesyPhone' attribute value. This signifies whether or not a courtesy phone for contacting the hotel is available at the attraction (e.g. often times these are availabe in airports). When true, the phone is available.

Parameters:
courtesyPhone -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getCodeListGroup

public CodeListGroup getCodeListGroup()
Get the 'CodeListGroup' attributeGroup value. The CodeContext attribute allows for a reference to the external code table used as the source for the code. The Code is available to send code information for an attraction (e.g. if the attraction is an airport, the actual airport code may be included).

Returns:
value

setCodeListGroup

public void setCodeListGroup(CodeListGroup codeListGroup)
Set the 'CodeListGroup' attributeGroup value. The CodeContext attribute allows for a reference to the external code table used as the source for the code. The Code is available to send code information for an attraction (e.g. if the attraction is an airport, the actual airport code may be included).

Parameters:
codeListGroup -

getProximityCode

public java.lang.String getProximityCode()
Get the 'ProximityCode' attribute value. Denotes whether a service 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 service is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Parameters:
proximityCode -

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 -