com.esri.adf.web.ejb.data
Class EJBGeocodeFunctionality

java.lang.Object
  extended by com.esri.adf.web.ejb.data.EJBGeocodeFunctionality
All Implemented Interfaces:
GeocodeFunctionality, GISFunctionality, java.io.Serializable

Deprecated. This class is deprecated as of ArcGIS Java Server 9.3.1, no replacement

@Deprecated
public class EJBGeocodeFunctionality
extends java.lang.Object
implements GeocodeFunctionality, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.util.HashMap<java.lang.String,java.lang.Object> address
          Deprecated.  
protected  java.util.HashMap<java.lang.String,java.lang.String> aliases
          Deprecated.  
protected  EJBGeocodeResource ejbGeocodeResource
          Deprecated.  
protected  boolean fetchAddressDetails
          Deprecated.  
protected  java.lang.String[] fields
          Deprecated.  
protected  com.esri.arcgisws.PropertySet mods
          Deprecated.  
 
Fields inherited from interface com.esri.adf.web.data.GeocodeFunctionality
FUNCTIONALITY_NAME
 
Constructor Summary
EJBGeocodeFunctionality()
          Deprecated.  
 
Method Summary
protected  com.esri.arcgisws.PropertySet createAddressPropertySet()
          Deprecated.  
 void destroyFunctionality()
          Deprecated.  The cleanup chores (such as releasing held resources) for the functionality must be performed in this method.
 java.util.List<AddressCandidate> findAddressCandidates()
          Deprecated.  Returns a List of AddressCandidates matching the current set of address field values.
 java.lang.String generateAddressString()
          Deprecated.  
 AddressCandidate geocodeAddress()
          Deprecated.  Geocodes a single address based on the current set of address field values.
 java.lang.String getAddressFieldAlias(java.lang.String fieldName)
          Deprecated.  Returns an alias for the given address field.
 java.lang.String[] getAddressFields()
          Deprecated.  Returns an array of address fields for this geocoder.
 java.lang.String getAddressFieldValue(java.lang.String fieldName)
          Deprecated.  Returns the value for a given address field.
 EJBGeocodeResource getResource()
          Deprecated.  Returns the GISResource associated with this functionality.
 void initFunctionality(GISResource resource)
          Deprecated.  The initialization chores for the functionality must be performed in this method.
 boolean isFetchAddressDetails()
          Deprecated.  
 void setAddressFieldValue(java.lang.String fieldName, java.lang.String value)
          Deprecated.  Sets the value for a given address field.
 void setFetchAddressDetails(boolean fetchAddressDetails)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbGeocodeResource

protected EJBGeocodeResource ejbGeocodeResource
Deprecated. 

fields

protected java.lang.String[] fields
Deprecated. 

aliases

protected java.util.HashMap<java.lang.String,java.lang.String> aliases
Deprecated. 

address

protected java.util.HashMap<java.lang.String,java.lang.Object> address
Deprecated. 

mods

protected com.esri.arcgisws.PropertySet mods
Deprecated. 

fetchAddressDetails

protected boolean fetchAddressDetails
Deprecated. 
Constructor Detail

EJBGeocodeFunctionality

public EJBGeocodeFunctionality()
Deprecated. 
Method Detail

initFunctionality

public void initFunctionality(GISResource resource)
Deprecated. 
Description copied from interface: GISFunctionality

The initialization chores for the functionality must be performed in this method. This method is called by the resource when the functionality needs to be initialized. This happens either when the resource itself is being initialized or if users add this functionality to the resource using the GISResource.addFunctionality(String, GISFunctionality) method after the resource has already been initialized.

Classes which implement this method should maintain the resource as a class instance variable and return the same in the GISFunctionality.getResource() method. The functionality is ready for use only after this method has been called.

Specified by:
initFunctionality in interface GISFunctionality
Parameters:
resource - the GISResource that this functionality supports
See Also:
GISResource.init(WebContext)

destroyFunctionality

public void destroyFunctionality()
Deprecated. 
Description copied from interface: GISFunctionality

The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. This method is called by the GISResource when the resource itself is being destroyed.

The functionality is no longer usable after this method has been called.

Specified by:
destroyFunctionality in interface GISFunctionality
See Also:
GISResource.destroy()

getResource

public EJBGeocodeResource getResource()
Deprecated. 
Description copied from interface: GISFunctionality

Returns the GISResource associated with this functionality.

The resource passed to GISFunctionality.initFunctionality(GISResource) is maintained as a class variable and is accessible through this method.

Specified by:
getResource in interface GISFunctionality
Returns:
the GISResource associated with this functionality

getAddressFields

public java.lang.String[] getAddressFields()
Deprecated. 
Description copied from interface: GeocodeFunctionality

Returns an array of address fields for this geocoder.

The GeocodeTask dynamically generates input text box for each address field.

Specified by:
getAddressFields in interface GeocodeFunctionality
Returns:
a String array of address fields for this geocoder

setAddressFieldValue

public void setAddressFieldValue(java.lang.String fieldName,
                                 java.lang.String value)
Deprecated. 
Description copied from interface: GeocodeFunctionality

Sets the value for a given address field.

Specified by:
setAddressFieldValue in interface GeocodeFunctionality
Parameters:
fieldName - the address field for which the value is to be set
value - the value for the given address field

getAddressFieldValue

public java.lang.String getAddressFieldValue(java.lang.String fieldName)
Deprecated. 
Description copied from interface: GeocodeFunctionality

Returns the value for a given address field.

Specified by:
getAddressFieldValue in interface GeocodeFunctionality
Parameters:
fieldName - the address field for which the value is to be returned
Returns:
the value for the given address field

getAddressFieldAlias

public java.lang.String getAddressFieldAlias(java.lang.String fieldName)
Deprecated. 
Description copied from interface: GeocodeFunctionality

Returns an alias for the given address field.

The GeocodeTask labels the input text box for the address field with this alias.

Specified by:
getAddressFieldAlias in interface GeocodeFunctionality
Parameters:
fieldName - the address field for which the alias is to be returned
Returns:
the alias for the given address field

geocodeAddress

public AddressCandidate geocodeAddress()
Deprecated. 
Description copied from interface: GeocodeFunctionality

Geocodes a single address based on the current set of address field values.

Different implementations can have different criteria for geocoding the address. Such criterion can be specified and configured in the implementation itself. The GeocodeTask itself is agnostic of such implementation specific criteria as it simply makes this call to get the geocoded address.

Specified by:
geocodeAddress in interface GeocodeFunctionality
Returns:
a single geocoded address

findAddressCandidates

public java.util.List<AddressCandidate> findAddressCandidates()
Deprecated. 
Description copied from interface: GeocodeFunctionality

Returns a List of AddressCandidates matching the current set of address field values.

Different implementations can have different criteria for matching the address candidates. Such criterion can be specified and configured in the implementation itself. The GeocodeTask itself is agnostic of such implementation specific criteria as it simply makes this call to find the matching address candidates.

Specified by:
findAddressCandidates in interface GeocodeFunctionality
Returns:
a List of AddressCandidates matching the current set of address field values

createAddressPropertySet

protected com.esri.arcgisws.PropertySet createAddressPropertySet()
Deprecated. 

generateAddressString

public java.lang.String generateAddressString()
Deprecated. 

isFetchAddressDetails

public boolean isFetchAddressDetails()
Deprecated. 

setFetchAddressDetails

public void setFetchAddressDetails(boolean fetchAddressDetails)
Deprecated.