|
|||||||||
| 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.SingleLineAddress
Contains information for geocoding and routing to and from addresses.
Location| 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 | |
SingleLineAddress()
Default constructor. |
|
SingleLineAddress(SingleLineAddress copy)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
java.lang.String |
getAddress()
Returns 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 SingleLineAddress. |
int |
hashCode()
Returns a hash code for this SingleLineAddress. |
void |
init()
Initializes object. |
void |
setAddress(java.lang.String strAddress)
Sets the address field of this SingleLineAddress. |
void |
setCountry(java.lang.String strCountry)
Sets the country field of this SingleLineAddress. |
| 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 SingleLineAddress()
public SingleLineAddress(SingleLineAddress copy)
copy - SingleLineAddress 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 setAddress(java.lang.String strAddress)
strAddress - The address to which the address field of this
SingleLineAddress is to be set.public void setCountry(java.lang.String strCountry)
strCountry - The country to which the country field of this
SingleLineAddress is to be set.public java.lang.String getAddress()
public java.lang.String getCountry()
public boolean equals(java.lang.Object otherObject)
equals in class LocationotherObject - the object to compare this SingleLineAddress against.
public int hashCode()
hashCode in class Location
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||