public class AutoSuggestSearch extends AutoSuggest
AutoSuggestSearch which contains information about a refined search link.
Note: DiscoveryResultPage is retrieved by way of the DiscoveryRequest returned
from a call to the AutoSuggestSearch.getSuggestedSearchRequest() method.
AutoSuggest.Typem_pimpl| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
GeoBoundingBox |
getBoundingBox()
Gets the
GeoBoundingBox describing a range of coordinates that correspond to the
Place. |
java.lang.String |
getCategory()
Gets the category for the suggested search.
|
GeoCoordinate |
getPosition()
Gets the
GeoCoordinate representing the geographical position of the suggested
search. |
DiscoveryRequest |
getSuggestedSearchRequest()
Gets the request to perform a suggested search.
|
int |
hashCode() |
getHighlightedTitle, getTitle, getType, getUrlpublic GeoCoordinate getPosition()
GeoCoordinate representing the geographical position of the suggested
search.
Note: position information for a suggested search is optional, so a call to this method could
return null.
GeoCoordinatepublic java.lang.String getCategory()
As category information for a suggested search is optional, so a call to this method could return an empty string.
public GeoBoundingBox getBoundingBox()
GeoBoundingBox describing a range of coordinates that correspond to the
Place. Typically, bounding boxes are associated with places such as cities and
countries.
Note: bounding box information for a suggested search is optional, so a call to this method
could return null.
GeoBoundingBoxpublic DiscoveryRequest getSuggestedSearchRequest()
DiscoveryRequest to retrieve the DiscoveryResultPagepublic int hashCode()
hashCode in class AutoSuggestpublic boolean equals(java.lang.Object obj)
equals in class AutoSuggest