org.ota.shared
Class ItemSearchCriterion.CodeRef

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

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

Indicates the location of points of interest. 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="CodeRef" minOccurs="0">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:LocationType">
         <xs:attribute type="xs:string" use="optional" name="VicinityCode"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ItemSearchCriterion.CodeRef()
           
 
Method Summary
 Location getLocation()
          Get the extension value.
 java.lang.String getVicinityCode()
          Get the 'VicinityCode' attribute value.
 void setLocation(Location location)
          Set the extension value.
 void setVicinityCode(java.lang.String vicinityCode)
          Set the 'VicinityCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSearchCriterion.CodeRef

public ItemSearchCriterion.CodeRef()
Method Detail

getLocation

public Location getLocation()
Get the extension value.

Returns:
value

setLocation

public void setLocation(Location location)
Set the extension value.

Parameters:
location -

getVicinityCode

public java.lang.String getVicinityCode()
Get the 'VicinityCode' attribute value. Used to identify the vicinity of the location. Refer to OpenTravel Codelist Vehicle Where at Facility (VWF).

Returns:
value

setVicinityCode

public void setVicinityCode(java.lang.String vicinityCode)
Set the 'VicinityCode' attribute value. Used to identify the vicinity of the location. Refer to OpenTravel Codelist Vehicle Where at Facility (VWF).

Parameters:
vicinityCode -