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