| Package | com.mapquest |
| Class | public class RouteMatrixResults |
| Inheritance | RouteMatrixResults MQObject |
See also
| Method | Defined by | ||
|---|---|---|---|
|
Constructs a new RouteMatrixResults object.
| RouteMatrixResults | ||
|
getAllToAllFlag():Boolean
Gets the all-to-all flag.
| RouteMatrixResults | ||
|
getClassName():String
Returns the text name of this class.
| RouteMatrixResults | ||
|
getCoverageName():String
Gets the Coverage name used to perform this route.
| RouteMatrixResults | ||
|
getDistance(from:int, toPos:int):Number
Returns the calculated distance of the route.
| RouteMatrixResults | ||
|
getObjectVersion():Number
Returns the version of this class.
| RouteMatrixResults | ||
![]() |
getProperty(path:String):String
Gets values from xml.
| MQObject | |
|
Gets the result code member of this object.
| RouteMatrixResults | ||
|
Gets the result messages of this object.
| RouteMatrixResults | ||
|
getTime(from:int, toPos:int):int
Returns the calculated elapsed time in seconds for the route.
| RouteMatrixResults | ||
![]() |
Create a copy of this object.
| MQObject | |
![]() |
internalCopyXML(obj:MQObject):XML
| MQObject | |
![]() |
internalCopyXMLx(obj:MQObject):String
| MQObject | |
|
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
| RouteMatrixResults | ||
![]() |
readExternal(input:IDataInput):void
| MQObject | |
|
saveXml():XML
Build xml that represents this object.
| RouteMatrixResults | ||
|
setCoverageName(newCoverageName:String):void
Sets the Coverage name used to perform this route.
| RouteMatrixResults | ||
|
setDistance(col:IntCollection):void
Sets the distance IntCollection.
| RouteMatrixResults | ||
![]() |
setProperty(path:String, value:Object):String
Sets values in xml.
| MQObject | |
|
setResultCode(rc:RouteMatrixResultsCode):void
Sets the result code member of this object.
| RouteMatrixResults | ||
|
setTime(col:IntCollection):void
Sets the time IntCollection.
| RouteMatrixResults | ||
![]() |
setXpath(xpath:String):void
Sets the m_xpath object.
| MQObject | |
![]() |
writeExternal(output:IDataOutput):void
| MQObject | |
| RouteMatrixResults | () | constructor |
public function RouteMatrixResults()Constructs a new RouteMatrixResults object.
| getAllToAllFlag | () | method |
public function getAllToAllFlag():BooleanGets the all-to-all flag.
ReturnsBoolean — Returns the allToAll flag. True if the matrix is from each
location to each other, False if from location 0 to all others.
|
| getClassName | () | method |
public override function getClassName():StringReturns the text name of this class.
ReturnsString — The text name of this class.
|
| getCoverageName | () | method |
public function getCoverageName():StringGets the Coverage name used to perform this route.
ReturnsString — The value of CoverageName
|
| getDistance | () | method |
public function getDistance(from:int, toPos:int):NumberReturns the calculated distance of the route.
Parametersfrom:int — from The route to start with
|
|
toPos:int — to The route to end with
|
Number — The calculated total distance of the route.
|
| getObjectVersion | () | method |
public override function getObjectVersion():NumberReturns the version of this class.
ReturnsNumber — The version of this class.
|
| getResultCode | () | method |
public function getResultCode():RouteMatrixResultsCodeGets the result code member of this object.
ReturnsRouteMatrixResultsCode |
| getResultsMessages | () | method |
public function getResultsMessages():StringCollectionGets the result messages of this object.
ReturnsStringCollection |
| getTime | () | method |
public function getTime(from:int, toPos:int):intReturns the calculated elapsed time in seconds for the route.
Parametersfrom:int — from The route to start with
|
|
toPos:int — to The route to end with
|
int — The calculated elapsed time in seconds for the route.
|
| loadXml | () | method |
public override function loadXml(xmlPrm:XML):voidAssigns the xml that relates to this object.
ParametersxmlPrm:XML — the xml to be assigned.
|
| saveXml | () | method |
public override function saveXml():XMLBuild xml that represents this object.
ReturnsXML — The xml.
|
| setCoverageName | () | method |
public function setCoverageName(newCoverageName:String):voidSets the Coverage name used to perform this route.
ParametersnewCoverageName:String — newCoverageName the Coverage name used to perform this route.
|
| setDistance | () | method |
public function setDistance(col:IntCollection):voidSets the distance IntCollection. Should be used only for loadXml method.
Parameterscol:IntCollection — col The distance IntCollection.
|
| setResultCode | () | method |
public function setResultCode(rc:RouteMatrixResultsCode):voidSets the result code member of this object.
Parametersrc:RouteMatrixResultsCode — resultCode The RouteMatrixResultsCode for this RouteMatrixResults object.
|
— Exception for invalid type or null/missing parameters
|
| setTime | () | method |
public function setTime(col:IntCollection):voidSets the time IntCollection. Should be used only for loadXMLOld method.
Parameterscol:IntCollection — col The time IntCollection.
|