public class RouteResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected RouteResponseError |
error |
protected OptimizedWaypoint[] |
optimizedWaypoints |
protected ResultReport |
resultReport |
protected FullRoute[] |
routes |
protected java.lang.String |
version |
Constructor and Description |
---|
RouteResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
java.util.List<OptimizedWaypoint> |
getOptimizedWaypoints() |
ResultReport |
getResultReport() |
java.util.List<FullRoute> |
getRoutes() |
boolean |
hasError() |
boolean |
hasResults() |
protected java.lang.String version
protected FullRoute[] routes
protected OptimizedWaypoint[] optimizedWaypoints
protected ResultReport resultReport
protected RouteResponseError error
public java.util.List<FullRoute> getRoutes()
public java.util.List<OptimizedWaypoint> getOptimizedWaypoints()
public ResultReport getResultReport()
public boolean hasError()
public java.lang.String getErrorMessage()
public boolean hasResults()