|
|||||||||
| 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
Contains information for geocoding and routing to and from addresses.
Location,
GeoAddress| 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 | |
Address()
Default constructor. |
|
Address(Address copy)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
java.lang.String |
getAdminArea(int nIndex)
Returns the specified Admin Area of this Address. |
java.lang.String |
getCity()
Returns the city field of this Address. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
java.lang.String |
getCountry()
Returns the country field of this Address. |
java.lang.String |
getCounty()
Returns the county field of this Address. |
java.lang.String |
getPostalCode()
Returns the postal code field of this Address. |
java.lang.String |
getState()
Returns the state field of this Address. |
java.lang.String |
getStreet()
Returns street Address. |
int |
hashCode()
Returns a hash code for this Address. |
void |
init()
Initializes object. |
void |
setAdminArea(int nIndex,
java.lang.String strString)
Sets the specified Admin Area of this Address. |
void |
setCity(java.lang.String strCity)
Sets the city field of this Address. |
void |
setCountry(java.lang.String strCountry)
Sets the country field of this Address. |
void |
setCounty(java.lang.String strCounty)
Sets the county field of this Address. |
void |
setPostalCode(java.lang.String strPostalCode)
Sets the postal code field of this Address. |
void |
setState(java.lang.String strState)
Sets the state field of this Address. |
void |
setStreet(java.lang.String strAddress)
Sets street Address. |
| 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 Address()
public Address(Address copy)
copy - Address to be copied| Method Detail |
public void init()
init in class Locationpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setCity(java.lang.String strCity)
strCity - The city to which the city field of this Address is
to be set.public void setCounty(java.lang.String strCounty)
strCounty - The county to which the county field of this Address
is to be set.public void setState(java.lang.String strState)
strState - The state to which the state field of this Address
is to be set.public void setPostalCode(java.lang.String strPostalCode)
strPostalCode - The postal code to which the postal code
field of this Address is to be set.public void setCountry(java.lang.String strCountry)
strCountry - The country to which the country field of this
Address is to be set.
public void setAdminArea(int nIndex,
java.lang.String strString)
nIndex - The specified Admin Area field of this Address.strString - The value for this admin areapublic void setStreet(java.lang.String strAddress)
strAddress - Input street Addresspublic java.lang.String getStreet()
public java.lang.String getCity()
public java.lang.String getCounty()
public java.lang.String getState()
public java.lang.String getPostalCode()
public java.lang.String getCountry()
public java.lang.String getAdminArea(int nIndex)
public boolean equals(java.lang.Object otherObject)
equals in class LocationotherObject - the object to compare this Address against.
public int hashCode()
hashCode in class Location
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||