org.ota.hotel
Class RefPoints.RefPoint

java.lang.Object
  extended by org.ota.shared.RelativePosition
      extended by org.ota.hotel.RefPoints.RefPoint
Enclosing class:
RefPoints

public static class RefPoints.RefPoint
extends RelativePosition

Provides information on the location of an area attraction. 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="RefPoint" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:RelativePositionType">
         <xs:sequence>
           <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
           <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
         </xs:sequence>
         <xs:attribute type="xs:string" use="optional" name="RefPointCategoryCode"/>
         <xs:attribute type="xs:string" use="optional" name="Proximity"/>
         <xs:attribute type="xs:string" use="optional" name="CityCode"/>
         <xs:attributeGroup ref="ns:CodeInfoGroup"/>
         <xs:attribute type="xs:string" use="optional" name="RefPointName"/>
         <xs:attributeGroup ref="ns:PositionGroup"/>
         <xs:attributeGroup ref="ns:CodeListGroup"/>
         <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
         <xs:attribute type="xs:string" use="optional" name="StateProv"/>
         <xs:attribute type="xs:string" use="optional" name="CountryCode"/>
         <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
       </xs:extension>
     </xs:complexContent>
   </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
 
Nested classes/interfaces inherited from class org.ota.shared.RelativePosition
RelativePosition.ToFrom
 
Constructor Summary
RefPoints.RefPoint()
           
 
Method Summary
 java.lang.String getCityCode()
          Get the 'CityCode' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 CodeListGroup getCodeListGroup()
          Get the 'CodeListGroup' attributeGroup value.
 java.lang.String getCountryCode()
          Get the 'CountryCode' attribute 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.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 PositionGroup getPositionGroup()
          Get the 'PositionGroup' attributeGroup value.
 java.lang.String getProximity()
          Get the 'Proximity' attribute value.
 java.lang.String getRefPointCategoryCode()
          Get the 'RefPointCategoryCode' attribute value.
 java.lang.String getRefPointName()
          Get the 'RefPointName' attribute value.
 java.lang.String getStateProv()
          Get the 'StateProv' attribute value.
 void setCityCode(java.lang.String cityCode)
          Set the 'CityCode' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setCodeListGroup(CodeListGroup codeListGroup)
          Set the 'CodeListGroup' attributeGroup value.
 void setCountryCode(java.lang.String countryCode)
          Set the 'CountryCode' attribute 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 setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setPositionGroup(PositionGroup positionGroup)
          Set the 'PositionGroup' attributeGroup value.
 void setProximity(java.lang.String proximity)
          Set the 'Proximity' attribute value.
 void setRefPointCategoryCode(java.lang.String refPointCategoryCode)
          Set the 'RefPointCategoryCode' attribute value.
 void setRefPointName(java.lang.String refPointName)
          Set the 'RefPointName' attribute value.
 void setStateProv(java.lang.String stateProv)
          Set the 'StateProv' attribute value.
 
Methods inherited from class org.ota.shared.RelativePosition
getApproximateDistanceInd, getDirection, getDistance, getDistanceUnitName, getIndexPointCode, getName, getNearest, getPrimaryIndicator, getToFrom, getTransportations, getUnitOfMeasureCode, setApproximateDistanceInd, setDirection, setDistance, setDistanceUnitName, setIndexPointCode, setName, setNearest, setPrimaryIndicator, setToFrom, setTransportations, setUnitOfMeasureCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefPoints.RefPoint

public RefPoints.RefPoint()
Method Detail

getMultimediaDescriptions

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

Returns:
value

setMultimediaDescriptions

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

Parameters:
multimediaDescriptions -

getDescriptiveText

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

Returns:
value

setDescriptiveText

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

Parameters:
descriptiveText -

getRefPointCategoryCode

public java.lang.String getRefPointCategoryCode()
Get the 'RefPointCategoryCode' attribute value. The code for the type of reference point in the proximity of the hotel facility. Refer to OpenTravel Code List Reference Point Category Code (REF).

Returns:
value

setRefPointCategoryCode

public void setRefPointCategoryCode(java.lang.String refPointCategoryCode)
Set the 'RefPointCategoryCode' attribute value. The code for the type of reference point in the proximity of the hotel facility. Refer to OpenTravel Code List Reference Point Category Code (REF).

Parameters:
refPointCategoryCode -

getProximity

public java.lang.String getProximity()
Get the 'Proximity' attribute value. This may be used to indicate the proximity (e.g., closest, second closest) between the reference point and the hotel. This may be used in conjunction with RefPointCategoryCode.

Returns:
value

setProximity

public void setProximity(java.lang.String proximity)
Set the 'Proximity' attribute value. This may be used to indicate the proximity (e.g., closest, second closest) between the reference point and the hotel. This may be used in conjunction with RefPointCategoryCode.

Parameters:
proximity -

getCityCode

public java.lang.String getCityCode()
Get the 'CityCode' attribute value.

Returns:
value

setCityCode

public void setCityCode(java.lang.String cityCode)
Set the 'CityCode' attribute value.

Parameters:
cityCode -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Parameters:
codeInfoGroup -

getRefPointName

public java.lang.String getRefPointName()
Get the 'RefPointName' attribute value. The name of the reference point.

Returns:
value

setRefPointName

public void setRefPointName(java.lang.String refPointName)
Set the 'RefPointName' attribute value. The name of the reference point.

Parameters:
refPointName -

getPositionGroup

public PositionGroup getPositionGroup()
Get the 'PositionGroup' attributeGroup value.

Returns:
value

setPositionGroup

public void setPositionGroup(PositionGroup positionGroup)
Set the 'PositionGroup' attributeGroup value.

Parameters:
positionGroup -

getCodeListGroup

public CodeListGroup getCodeListGroup()
Get the 'CodeListGroup' attributeGroup value. Used to specify a reference point by a code.

Returns:
value

setCodeListGroup

public void setCodeListGroup(CodeListGroup codeListGroup)
Set the 'CodeListGroup' attributeGroup value. Used to specify a reference point by a code.

Parameters:
codeListGroup -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the reference point applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with RefPointCategoryCode.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the reference point applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with RefPointCategoryCode.

Parameters:
existsCode -

getStateProv

public java.lang.String getStateProv()
Get the 'StateProv' attribute value. The state or province in which the reference point is located.

Returns:
value

setStateProv

public void setStateProv(java.lang.String stateProv)
Set the 'StateProv' attribute value. The state or province in which the reference point is located.

Parameters:
stateProv -

getCountryCode

public java.lang.String getCountryCode()
Get the 'CountryCode' attribute value. The country in which the reference point is located.

Returns:
value

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Set the 'CountryCode' attribute value. The country in which the reference point is located.

Parameters:
countryCode -

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 -