|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.RouteMatrixResults
Contains the results of a route matrix request.
| 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 | |
RouteMatrixResults()
Default constructor. |
|
RouteMatrixResults(RouteMatrixResults rr)
Copy Constructor, which creates a new RouteMatrixResults 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. |
boolean |
getAllToAllFlag()
Gets the all-to-all flag. |
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(int from,
int to)
Returns the calculated distance of the route. |
RouteMatrixResultsCode |
getResultCode()
Returns the result code member of this object. |
StringCollection |
getResultMessages()
Returns the messages returned by Server. |
int |
getTime(int from,
int to)
Returns the calculated elapsed time in seconds for the route. |
int |
hashCode()
Returns a hash code for this RouteMatrixResults. |
void |
init()
Initializes object. |
void |
setCoverageName(java.lang.String newCoverageName)
Sets the Coverage name used to perform this route. |
void |
setResultCode(RouteMatrixResultsCode 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 RouteMatrixResults()
public RouteMatrixResults(RouteMatrixResults rr)
rr - An existing RouteMatrixResults 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 int getTime(int from,
int to)
public double getDistance(int from,
int to)
public StringCollection getResultMessages()
public void setResultCode(RouteMatrixResultsCode rCode)
rCode - a long value containing the codepublic RouteMatrixResultsCode getResultCode()
public boolean getAllToAllFlag()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this RouteMatrixResults against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||