|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.RouteResults
Contains the results of a routing request.
LatLngCollection,
LocationCollection,
RouteResultsCode,
StringCollection,
TrekRouteCollection| 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 | |
RouteResults()
Default constructor. |
|
RouteResults(RouteResults rr)
Copy Constructor, which creates a new RouteResults object which is a duplicate of the one passed in. |
|
| 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. |
java.lang.String |
getCoverageName()
Gets the Coverage name used to perform this route. |
double |
getDistance()
Returns the calculated distance of the route. |
LocationCollection |
getLocations()
Returns all Locations used in the route. |
RouteResultsCode |
getResultCode()
Returns the result code member of this object. |
StringCollection |
getResultMessages()
Returns the messages returned by Server. |
LatLngCollection |
getShapePoints()
Returns the LatLngCollection member of this object. |
int |
getTime()
Returns the calculated elapsed time in seconds for the route. |
TrekRouteCollection |
getTrekRoutes()
Returns the TrekRouteCollection member of this object. |
int |
hashCode()
Returns a hash code for this RouteResults. |
void |
init()
Initializes object. |
void |
setCoverageName(java.lang.String newCoverageName)
Sets the Coverage name used to perform this route. |
void |
setResultCode(RouteResultsCode rCode)
Sets the result code member of this object. |
| 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 RouteResults()
public RouteResults(RouteResults rr)
rr - An existing RouteResults object which is
to be duplicated in the new one.| Method Detail |
public void init()
init in class MQObjectpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic java.lang.String getCoverageName()
public void setCoverageName(java.lang.String newCoverageName)
newCoverageName - the Coverage name used to perform this route.public LocationCollection getLocations()
public int getTime()
public double getDistance()
public TrekRouteCollection getTrekRoutes()
public LatLngCollection getShapePoints()
public StringCollection getResultMessages()
public void setResultCode(RouteResultsCode rCode)
rCode - a long value containing the codepublic RouteResultsCode getResultCode()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this RouteResults against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||