org.ota.shared
Class ItemSearchCriterion.RefPoint

java.lang.Object
  extended by org.ota.shared.ItemSearchCriterion.RefPoint
Enclosing class:
ItemSearchCriterion

public static class ItemSearchCriterion.RefPoint
extends java.lang.Object

The Reference Point element allows for a search by proximity to a designated reference point by name. 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" minOccurs="0" maxOccurs="999">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="optional" name="StateProv"/>
         <xs:attribute type="xs:string" use="optional" name="CountryCode"/>
         <xs:attributeGroup ref="ns:CodeListGroup"/>
         <xs:attribute type="xs:string" use="optional" name="RefPointType"/>
         <xs:attribute type="xs:string" use="optional" name="Name"/>
         <xs:attribute type="xs:string" use="optional" name="CityName"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ItemSearchCriterion.RefPoint()
           
 
Method Summary
 java.lang.String getCityName()
          Get the 'CityName' attribute value.
 CodeListGroup getCodeListGroup()
          Get the 'CodeListGroup' attributeGroup value.
 java.lang.String getCountryCode()
          Get the 'CountryCode' attribute value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 java.lang.String getRefPoint()
          Get the 'RefPointType' attribute value.
 java.lang.String getStateProv()
          Get the 'StateProv' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setCityName(java.lang.String cityName)
          Set the 'CityName' attribute value.
 void setCodeListGroup(CodeListGroup codeListGroup)
          Set the 'CodeListGroup' attributeGroup value.
 void setCountryCode(java.lang.String countryCode)
          Set the 'CountryCode' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 void setRefPoint(java.lang.String refPoint)
          Set the 'RefPointType' attribute value.
 void setStateProv(java.lang.String stateProv)
          Set the 'StateProv' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSearchCriterion.RefPoint

public ItemSearchCriterion.RefPoint()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

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 -

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 -

getRefPoint

public java.lang.String getRefPoint()
Get the 'RefPointType' attribute value. Indicates the type of location being referenced (e.g., Airport, Hotel). Refer to the OpenTravel Code table Index Point Code (IPC).

Returns:
value

setRefPoint

public void setRefPoint(java.lang.String refPoint)
Set the 'RefPointType' attribute value. Indicates the type of location being referenced (e.g., Airport, Hotel). Refer to the OpenTravel Code table Index Point Code (IPC).

Parameters:
refPoint -

getName

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

Returns:
value

setName

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

Parameters:
name -

getCityName

public java.lang.String getCityName()
Get the 'CityName' attribute value. The name of the city associated with this reference point.

Returns:
value

setCityName

public void setCityName(java.lang.String cityName)
Set the 'CityName' attribute value. The name of the city associated with this reference point.

Parameters:
cityName -