public class RouteResponse extends com.tomtom.online.sdk.common.service.ServiceBaseResponse implements java.io.Serializable, BatchableRoutingResponse
Modifier and Type | Field and Description |
---|---|
protected OptimizedWaypoint[] |
optimizedWaypoints |
protected ResultReport |
resultReport |
protected FullRoute[] |
routes |
protected java.lang.String |
version |
Constructor and Description |
---|
RouteResponse() |
Modifier and Type | Method and Description |
---|---|
void |
accept(BatchableRoutingResponseVisitor visitor) |
java.util.List<OptimizedWaypoint> |
getOptimizedWaypoints() |
ResultReport |
getResultReport() |
java.util.List<FullRoute> |
getRoutes() |
boolean |
hasResults() |
getErrorMessage, getResponseStatus, hasError
protected java.lang.String version
protected FullRoute[] routes
protected OptimizedWaypoint[] optimizedWaypoints
protected ResultReport resultReport
public java.util.List<FullRoute> getRoutes()
public java.util.List<OptimizedWaypoint> getOptimizedWaypoints()
public ResultReport getResultReport()
public boolean hasResults()
public void accept(BatchableRoutingResponseVisitor visitor)
accept
in interface com.tomtom.online.sdk.common.util.Visitable<BatchableRoutingResponseVisitor>