public class GeometrySearchResponse extends java.lang.Object implements java.io.Serializable, BatchableSearchResponse
Modifier and Type | Field and Description |
---|---|
protected ResponseError |
error
Error code and description.
|
protected GeometrySearchResult[] |
results
Result list.
|
protected Summary |
summary
This section contains basic information about returned results.
|
Constructor and Description |
---|
GeometrySearchResponse() |
Modifier and Type | Method and Description |
---|---|
void |
accept(BatchableSearchResponseVisitor visitor) |
java.lang.String |
getErrorMessage() |
ImmutableList<GeometrySearchResult> |
getResults() |
boolean |
hasError() |
boolean |
hasResults()
Specifies if the results where retrieved from fuzzy search request.
|
protected Summary summary
protected GeometrySearchResult[] results
protected ResponseError error
public ImmutableList<GeometrySearchResult> getResults()
public boolean hasError()
hasError
in interface com.tomtom.online.sdk.common.service.ServiceResponse
public java.lang.String getErrorMessage()
getErrorMessage
in interface com.tomtom.online.sdk.common.service.ServiceResponse
public boolean hasResults()
public void accept(BatchableSearchResponseVisitor visitor)
accept
in interface com.tomtom.online.sdk.common.util.Visitable<BatchableSearchResponseVisitor>