public class GazetteerQuery extends DiscoveryServiceQuery
Modifier and Type | Field and Description |
---|---|
Collection |
thesaurusName |
Constructor and Description |
---|
GazetteerQuery()
Constructor
|
GazetteerQuery(String name,
String description)
To search a place by name
|
GazetteerQuery(String name,
String nameFilter,
FeatureType[] feature,
String fieldAttribute,
int recsByPage,
Coordinates coordinates,
String coordinatesFilter) |
Modifier and Type | Method and Description |
---|---|
Coordinates |
getCoordinates() |
String |
getCoordinatesFilter() |
FeatureType[] |
getFeatures() |
String |
getFieldAttribute() |
String |
getName() |
String |
getNameFilter() |
GazetteerOptions |
getOptions() |
int |
getRecsByPage() |
boolean |
isCoordinatesClicked() |
void |
setCoordinates(Coordinates coordinates) |
void |
setCoordinatesClicked(boolean isCoordinatesClicked) |
void |
setCoordinatesFilter(String coordinatesFilter) |
void |
setFeatures(FeatureType[] features) |
void |
setFieldAttribute(String fieldAttribute) |
void |
setName(String name) |
void |
setNameFilter(String nameFilter) |
void |
setOptions(GazetteerOptions options)
Set the options
|
void |
setRecsByPage(int recsByPage) |
getProperty, setProperties
public Collection thesaurusName
public GazetteerQuery(String name, String nameFilter, FeatureType[] feature, String fieldAttribute, int recsByPage, Coordinates coordinates, String coordinatesFilter)
name
- nameFilter
- feature
- fieldAttribute
- recsByPage
- coordinates
- coordinatesFilter
- public GazetteerQuery()
public Coordinates getCoordinates()
public void setCoordinates(Coordinates coordinates)
coordinates
- The coordinates to set.public String getCoordinatesFilter()
public void setCoordinatesFilter(String coordinatesFilter)
coordinatesFilter
- The coordinatesFilter to set.public FeatureType[] getFeatures()
public void setFeatures(FeatureType[] features)
feature
- The feature to set.features
- The feature to set.public String getName()
public void setName(String name)
name
- The name to set.public String getNameFilter()
public void setNameFilter(String nameFilter)
nameFilter
- The nameFilter to set.public int getRecsByPage()
public void setRecsByPage(int recsByPage)
recsByPage
- The recsByPage to set.public String getFieldAttribute()
public void setFieldAttribute(String fieldAttribute)
fieldAttribute
- The fieldAttribute to set.public boolean isCoordinatesClicked()
public void setCoordinatesClicked(boolean isCoordinatesClicked)
isCoordinatesClicked
- The isCoordinatesClicked to set.public GazetteerOptions getOptions()
public void setOptions(GazetteerOptions options)
options
-