|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.Location
com.mapquest.Address
com.mapquest.GeoAddress
Contains the results of geocoding an address.
Address,
LatLng| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
GeoAddress()
Default constructor. |
|
GeoAddress(GeoAddress copy)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
double |
getDistAlong()
Get the Distance along the link where geocoded, or the distance from a link when returned from routing |
long |
getGEFID()
Gets the GEFID of a GeoAddress object. |
LatLng |
getLatLng()
Returns the LatLng component of this GeoAddress object. |
java.lang.String |
getResultCode()
Returns the Result code of this GeoAddress object. |
java.lang.String |
getSourceId()
Gets the geocode coverage name of the geocoder that performed the geocode |
int |
hashCode()
Returns a hash code for this GeoAddress. |
void |
init()
Initializes object. |
void |
setDistAlong(double dDistAlong)
Set the Distance along the link where geocoded, or the distance from a link when returned from routing |
void |
setGEFID(long GEFID)
Sets the GEFID of a GeoAddress object. |
void |
setLatLng(LatLng llLatLng)
Sets the LatLng object of this GeoAddress. |
void |
setResultCode(java.lang.String strCode)
Sets the Result Code of this GeoAddress object. |
void |
setSourceId(java.lang.String strSourceId)
Sets the geocode coverage name of the geocoder that performed the geocode |
| Methods inherited from class com.mapquest.Address |
getAdminArea, getCity, getCountry, getCounty, getPostalCode, getState, getStreet, setAdminArea, setCity, setCountry, setCounty, setPostalCode, setState, setStreet |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public GeoAddress()
public GeoAddress(GeoAddress copy)
copy - The GeoAddress object which is to be copied to this
GeoAddress object.| Method Detail |
public void init()
init in class Addresspublic int getClassId()
getClassId in class Addresspublic java.lang.String getClassName()
getClassName in class Addresspublic void setLatLng(LatLng llLatLng)
llLatLng - The LatLng object which contains the results that
the corresponding components of this GeoAddress
object is to be set to.public void setResultCode(java.lang.String strCode)
strCode - The quality of the Geocode match (for
example Zip + 4, Address, and
Intersection match).public void setGEFID(long GEFID)
GEFID - New GEFID for this object.public LatLng getLatLng()
public java.lang.String getResultCode()
public long getGEFID()
public void setDistAlong(double dDistAlong)
dDistAlong - the Distancepublic double getDistAlong()
public void setSourceId(java.lang.String strSourceId)
strSourceId - the source coverage id that the geocode was acquired frompublic java.lang.String getSourceId()
public boolean equals(java.lang.Object otherObject)
equals in class AddressotherObject - the object to compare this GeoAddress against.
public int hashCode()
hashCode in class Address
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||