org.ota.shared
Class ItemSearchCriterion.Radius

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

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

Used to specify the extent of a search area. The extent is relative to an element (position, address, hotel reference, etc.) present in this ItemSearchCriterionType that specifies a location. 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="Radius" minOccurs="0">
   <xs:complexType>
     <xs:attributeGroup ref="ns:DistanceAttributesGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DistanceAttributesGroup">
   <xs:attribute type="xs:string" use="optional" name="Distance"/>
   <xs:attribute type="xs:string" use="optional" name="DistanceMeasure"/>
   <xs:attribute type="xs:string" use="optional" name="Direction"/>
   <xs:attribute type="xs:string" use="optional" name="DistanceMax"/>
   <xs:attribute type="xs:string" use="optional" name="UnitOfMeasureCode"/>
 </xs:attributeGroup>
 


Constructor Summary
ItemSearchCriterion.Radius()
           
 
Method Summary
 java.lang.String getDirection()
          Get the 'Direction' attribute value.
 java.lang.String getDistance()
          Get the 'Distance' attribute value.
 java.lang.String getDistanceMax()
          Get the 'DistanceMax' attribute value.
 java.lang.String getDistanceMeasure()
          Get the 'DistanceMeasure' attribute value.
 java.lang.String getUnitOfMeasureCode()
          Get the 'UnitOfMeasureCode' attribute value.
 void setDirection(java.lang.String direction)
          Set the 'Direction' attribute value.
 void setDistance(java.lang.String distance)
          Set the 'Distance' attribute value.
 void setDistanceMax(java.lang.String distanceMax)
          Set the 'DistanceMax' attribute value.
 void setDistanceMeasure(java.lang.String distanceMeasure)
          Set the 'DistanceMeasure' attribute value.
 void setUnitOfMeasureCode(java.lang.String unitOfMeasureCode)
          Set the 'UnitOfMeasureCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSearchCriterion.Radius

public ItemSearchCriterion.Radius()
Method Detail

getDistance

public java.lang.String getDistance()
Get the 'Distance' attribute value. An optional attribute indicating the distance to/from a reference point. When used in conjunction with DistanceMax, this represents the minimum distance.

Returns:
value

setDistance

public void setDistance(java.lang.String distance)
Set the 'Distance' attribute value. An optional attribute indicating the distance to/from a reference point. When used in conjunction with DistanceMax, this represents the minimum distance.

Parameters:
distance -

getDistanceMeasure

public java.lang.String getDistanceMeasure()
Get the 'DistanceMeasure' attribute value. When the Distance attribute contains a value, (presumably a numerical value), the unit of measure is a string value that indicate what units are used for the value.

Returns:
value

setDistanceMeasure

public void setDistanceMeasure(java.lang.String distanceMeasure)
Set the 'DistanceMeasure' attribute value. When the Distance attribute contains a value, (presumably a numerical value), the unit of measure is a string value that indicate what units are used for the value.

Parameters:
distanceMeasure -

getDirection

public java.lang.String getDirection()
Get the 'Direction' attribute value. An optional string value used to indicate the compass point(s) direction, e.g.: S, SE (South, Southeast), FROM the Reference Point TO the hotel location if the search is not a full circumference from the reference point.

Returns:
value

setDirection

public void setDirection(java.lang.String direction)
Set the 'Direction' attribute value. An optional string value used to indicate the compass point(s) direction, e.g.: S, SE (South, Southeast), FROM the Reference Point TO the hotel location if the search is not a full circumference from the reference point.

Parameters:
direction -

getDistanceMax

public java.lang.String getDistanceMax()
Get the 'DistanceMax' attribute value. An optional attribute indicating the maximum distance to/from a reference point.

Returns:
value

setDistanceMax

public void setDistanceMax(java.lang.String distanceMax)
Set the 'DistanceMax' attribute value. An optional attribute indicating the maximum distance to/from a reference point.

Parameters:
distanceMax -

getUnitOfMeasureCode

public java.lang.String getUnitOfMeasureCode()
Get the 'UnitOfMeasureCode' attribute value. The unit of measure in a code format. Refer to OpenTravel Code List Unit of Measure Code (UOM).

Returns:
value

setUnitOfMeasureCode

public void setUnitOfMeasureCode(java.lang.String unitOfMeasureCode)
Set the 'UnitOfMeasureCode' attribute value. The unit of measure in a code format. Refer to OpenTravel Code List Unit of Measure Code (UOM).

Parameters:
unitOfMeasureCode -