Class NominatimSearch
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.module.Module
-
- de.terrestris.shoguncore.model.module.NominatimSearch
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public class NominatimSearch extends Module
A search module working with the OSM Nominatim Service.- Author:
- Kai Volland
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNominatimSearch.NominatimFormatTypeA enum type for the allowed response format.
-
Constructor Summary
Constructors Constructor Description NominatimSearch()Explicitly adding the default constructor as this is important, e.g. for Hibernate: http://goo.gl/3Cr1pw
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)NominatimSearch.NominatimFormatTypegetFormat()java.lang.StringgetGroupHeaderTpl()java.lang.IntegergetMinSearchTextChars()java.lang.IntegergetResultLimit()java.lang.IntegergetTypeDelay()java.util.List<java.lang.Integer>getViewboxlbrt()inthashCode()voidsetFormat(NominatimSearch.NominatimFormatType format)voidsetGroupHeaderTpl(java.lang.String groupHeaderTpl)voidsetMinSearchTextChars(java.lang.Integer minSearchTextChars)voidsetResultLimit(java.lang.Integer resultLimit)voidsetTypeDelay(java.lang.Integer typeDelay)voidsetViewboxlbrt(java.util.List<java.lang.Integer> viewboxlbrt)-
Methods inherited from class de.terrestris.shoguncore.model.module.Module
getName, getProperties, getXtype, setName, setProperties, setXtype
-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Method Detail
-
getFormat
public NominatimSearch.NominatimFormatType getFormat()
- Returns:
- the format
-
setFormat
public void setFormat(NominatimSearch.NominatimFormatType format)
- Parameters:
format- the format to set
-
getResultLimit
public java.lang.Integer getResultLimit()
- Returns:
- the resultLimit
-
setResultLimit
public void setResultLimit(java.lang.Integer resultLimit)
- Parameters:
resultLimit- the resultLimit to set
-
getViewboxlbrt
public java.util.List<java.lang.Integer> getViewboxlbrt()
- Returns:
- the viewboxlbrt
-
setViewboxlbrt
public void setViewboxlbrt(java.util.List<java.lang.Integer> viewboxlbrt)
- Parameters:
viewboxlbrt- the viewboxlbrt to set
-
getMinSearchTextChars
public java.lang.Integer getMinSearchTextChars()
- Returns:
- the minSearchTextChars
-
setMinSearchTextChars
public void setMinSearchTextChars(java.lang.Integer minSearchTextChars)
- Parameters:
minSearchTextChars- the minSearchTextChars to set
-
getTypeDelay
public java.lang.Integer getTypeDelay()
- Returns:
- the typeDelay
-
setTypeDelay
public void setTypeDelay(java.lang.Integer typeDelay)
- Parameters:
typeDelay- the typeDelay to set
-
getGroupHeaderTpl
public java.lang.String getGroupHeaderTpl()
- Returns:
- the groupHeaderTpl
-
setGroupHeaderTpl
public void setGroupHeaderTpl(java.lang.String groupHeaderTpl)
- Parameters:
groupHeaderTpl- the groupHeaderTpl to set
-
hashCode
public int hashCode()
-
-