|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQRouteMatrixResults
Contains the results of a route matrix request.
See:
| Field Summary | |
<private> MQIntCollection |
m_Distance
Value to represent the distance matrix |
<private> int |
m_LocationCount
Value to represent the count of locations |
<private> MQRouteMatrixResultsCode |
m_ResultCode
Value to represent the result code |
<private> MQStringCollection |
m_ResultMessages
Value to represent the result messages |
<private> MQIntCollection |
m_Time
Value to represent the time matrix |
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQRouteMatrixResults
()
Constructs a new MQRouteMatrixResults object. |
|
| Method Summary | |
Boolean
|
getAllToAllFlag()
Gets the all-to-all flag. |
String
|
getClassName()
Returns the text name of this class. |
String
|
getCoverageName()
Gets the Coverage name used to perform this route. |
Double
|
getDistance(<int> from, <int> to)
Returns the calculated distance of the route. |
int
|
getObjectVersion()
Returns the version of this class. |
MQRouteMatrixResultsCode
|
getResultCode()
Gets the result code member of this object. |
MQStringCollection
|
getResultsMessages()
Gets the result messages of this object. |
int
|
getTime(<int> from, <int> to)
Returns the calculated elapsed time in seconds for the route. |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setCoverageName(<String> newCoverageName)
Sets the Coverage name used to perform this route. |
void
|
setDistance(<MQIntCollection> col)
Sets the distance MQIntCollection. |
void
|
setResultCode(rc)
Sets the result code member of this object. |
void
|
setResultMessages(<MQStringCollection> col)
Sets the ResultMessages MQStringCollection. |
void
|
setTime(<MQIntCollection> col)
Sets the time MQIntCollection. |
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> MQIntCollection m_Distance
<private> int m_LocationCount
<private> MQRouteMatrixResultsCode m_ResultCode
<private> MQStringCollection m_ResultMessages
<private> MQIntCollection m_Time
| Constructor Detail |
MQRouteMatrixResults()
| Method Detail |
Boolean getAllToAllFlag()
String getClassName()
String getCoverageName()
Double getDistance(<int> from, <int> to)
from - The route to start with
to - The route to end with
int getObjectVersion()
MQRouteMatrixResultsCode getResultCode()
MQStringCollection getResultsMessages()
int getTime(<int> from, <int> to)
from - The route to start with
to - The route to end with
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setCoverageName(<String> newCoverageName)
newCoverageName - the Coverage name used to perform this route.
void setDistance(<MQIntCollection> col)
col - The distance MQIntCollection.
void setResultCode(rc)
resultCode - The MQRouteMatrixResultsCode for this MQRouteMatrixResults object.
void setResultMessages(<MQStringCollection> col)
col - The ResultMessages MQStringCollection.
void setTime(<MQIntCollection> col)
col - The time MQIntCollection.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||