public class ReverseGeocoderSearchResponse extends java.lang.Object implements java.io.Serializable, BatchableSearchResponse
| Modifier and Type | Field and Description |
|---|---|
protected ReverseGeocoderFullAddress[] |
addresses
The addresses table which contains all results returned from search service.
|
protected ResponseError |
error
The error which occurred during the reverse geocoding process.
|
| Constructor and Description |
|---|
ReverseGeocoderSearchResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BatchableSearchResponseVisitor visitor) |
ImmutableList<ReverseGeocoderFullAddress> |
getAddresses()
Gets addresses list in the format of
List. |
java.lang.String |
getErrorMessage()
The error message if applicable.
|
boolean |
hasError()
Specifies if the response has error.
|
boolean |
hasResults()
Specifies if the results where retrieved from reverse geocoding request.
|
protected ResponseError error
protected ReverseGeocoderFullAddress[] addresses
public ImmutableList<ReverseGeocoderFullAddress> getAddresses()
List.List.public boolean hasError()
hasError in interface com.tomtom.online.sdk.common.service.ServiceResponsepublic java.lang.String getErrorMessage()
getErrorMessage in interface com.tomtom.online.sdk.common.service.ServiceResponsepublic boolean hasResults()
public void accept(BatchableSearchResponseVisitor visitor)
accept in interface com.tomtom.online.sdk.common.util.Visitable<BatchableSearchResponseVisitor>