public class SpatialSearchRequestParams extends SearchRequestParams
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
gk |
protected Float |
lat |
protected Float |
lon |
protected Float |
radius |
protected String |
wkt |
| Constructor and Description |
|---|
SpatialSearchRequestParams() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addSpatialParams(String paramString,
Boolean encodeParams)
Add the spatial params to the param string
|
String |
getEncodedParams()
Produce a URI encoded query string for use in java.util.URI, etc
|
String[] |
getFq()
Get the value of fq.
|
Boolean |
getGk() |
Float |
getLat() |
Float |
getLon() |
Float |
getRadius() |
String |
getUrlParams()
Constructs the params to be returned in the result
|
String |
getWkt() |
int |
hashCode() |
void |
setGk(Boolean gk) |
void |
setLat(Float lat) |
void |
setLon(Float lon) |
void |
setRadius(Float radius) |
void |
setWkt(String wkt) |
String |
toString()
Custom toString method to produce a String to be used as the request parameters
for the Biocache Service webservices
|
conditionalEncode, getDir, getDisplayString, getFacet, getFacets, getFl, getFlimit, getFoffset, getFormattedQuery, getFprefix, getFsort, getPageSize, getQ, getQc, getQId, getSort, getStart, getStartIndex, setDir, setDisplayString, setFacet, setFacets, setFl, setFlimit, setFoffset, setFormattedQuery, setFprefix, setFq, setFsort, setPageSize, setQ, setQc, setQId, setSort, setStart, setStartIndex, toStringprotected Float radius
protected Float lat
protected Float lon
protected String wkt
protected Boolean gk
public String toString()
toString in class SearchRequestParamspublic String getEncodedParams()
getEncodedParams in class SearchRequestParamsprotected String addSpatialParams(String paramString, Boolean encodeParams)
paramString - public String getUrlParams()
SearchRequestParamsgetUrlParams in class SearchRequestParamspublic Float getLat()
public void setLat(Float lat)
public Float getLon()
public void setLon(Float lon)
public Float getRadius()
public void setRadius(Float radius)
public String getWkt()
public void setWkt(String wkt)
public Boolean getGk()
public void setGk(Boolean gk)
gk - the gk to setpublic String[] getFq()
getFq in class SearchRequestParamspublic int hashCode()
hashCode in class SearchRequestParamsCopyright © 2014. All rights reserved.