com.esri.adf.web.data
Class AddressCandidate

java.lang.Object
  extended by com.esri.adf.web.data.AddressCandidate
All Implemented Interfaces:
Serializable

public class AddressCandidate
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  String address
           
protected  Map<Object,Object> details
           
protected  WebGeometry location
           
protected  GeocodeFunctionality mGeoFunc
           
protected  int score
           
protected static double ZOOMTO_POINT_FACTOR
           
protected  double zoomToFactor
           
 
Constructor Summary
AddressCandidate()
           
AddressCandidate(GeocodeFunctionality geocodeFunctionality, WebGeometry location, String address, int score, Map<?,?> details)
           
 
Method Summary
 void clearGraphics()
           
 void display()
           
 String getAddress()
           
 Map<Object,Object> getDetails()
           
 String getDisplayScore()
           
 GeocodeFunctionality getGeocodeFunctionality()
           
 WebGeometry getLocation()
           
 int getScore()
           
 double getZoomToFactor()
           
 void setAddress(String address)
           
 void setDetails(Map<?,?> details)
           
 void setGeocodeFunctionality(GeocodeFunctionality geocodeFunctionality)
           
 void setLocation(WebPoint location)
           
 void setProperties(Map<?,?> details)
          Deprecated. As of ArcGIS Java Server 9.3, instead use setDetails(java.util.Map)
 void setScore(int score)
           
 void setZoomToFactor(double zoomToFactor)
           
 void zoom()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZOOMTO_POINT_FACTOR

protected static final double ZOOMTO_POINT_FACTOR
See Also:
Constant Field Values

mGeoFunc

protected GeocodeFunctionality mGeoFunc

location

protected WebGeometry location

details

protected Map<Object,Object> details

address

protected String address

score

protected int score

zoomToFactor

protected double zoomToFactor
Constructor Detail

AddressCandidate

public AddressCandidate()

AddressCandidate

public AddressCandidate(GeocodeFunctionality geocodeFunctionality,
                        WebGeometry location,
                        String address,
                        int score,
                        Map<?,?> details)
Method Detail

display

public void display()

clearGraphics

public void clearGraphics()

zoom

public void zoom()

getAddress

public String getAddress()

setAddress

public void setAddress(String address)

getGeocodeFunctionality

public GeocodeFunctionality getGeocodeFunctionality()

setGeocodeFunctionality

public void setGeocodeFunctionality(GeocodeFunctionality geocodeFunctionality)

getLocation

public WebGeometry getLocation()

setLocation

public void setLocation(WebPoint location)

getScore

public int getScore()

getDisplayScore

public String getDisplayScore()

setScore

public void setScore(int score)

setZoomToFactor

public void setZoomToFactor(double zoomToFactor)

getZoomToFactor

public double getZoomToFactor()

getDetails

public Map<Object,Object> getDetails()

setDetails

public void setDetails(Map<?,?> details)

setProperties

@Deprecated
public void setProperties(Map<?,?> details)
Deprecated. As of ArcGIS Java Server 9.3, instead use setDetails(java.util.Map)