Class OverpassSearch
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.module.Module
-
- de.terrestris.shoguncore.model.module.OverpassSearch
-
- All Implemented Interfaces:
Serializable
@Entity public class OverpassSearch extends Module
A search module working with the OSM Overpass API.- Author:
- Kai Volland
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOverpassSearch.OverpassFormatTypeA enum type for the allowed response format.
-
Constructor Summary
Constructors Constructor Description OverpassSearch()Explicitly adding the default constructor as this is important, e.g.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)OverpassSearch.OverpassFormatTypegetFormat()StringgetGroupHeaderTpl()IntegergetMinSearchTextChars()IntegergetResultLimit()IntegergetTypeDelay()List<Integer>getViewboxlbrt()inthashCode()voidsetFormat(OverpassSearch.OverpassFormatType format)voidsetGroupHeaderTpl(String groupHeaderTpl)voidsetMinSearchTextChars(Integer minSearchTextChars)voidsetResultLimit(Integer resultLimit)voidsetTypeDelay(Integer typeDelay)voidsetViewboxlbrt(List<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 OverpassSearch.OverpassFormatType getFormat()
- Returns:
- the format
-
setFormat
public void setFormat(OverpassSearch.OverpassFormatType format)
- Parameters:
format- the format to set
-
getResultLimit
public Integer getResultLimit()
- Returns:
- the limit
-
setResultLimit
public void setResultLimit(Integer resultLimit)
- Parameters:
resultLimit- the limit to set
-
setViewboxlbrt
public void setViewboxlbrt(List<Integer> viewboxlbrt)
- Parameters:
viewboxlbrt- the viewboxlbrt to set
-
getMinSearchTextChars
public Integer getMinSearchTextChars()
- Returns:
- the minSearchTextChars
-
setMinSearchTextChars
public void setMinSearchTextChars(Integer minSearchTextChars)
- Parameters:
minSearchTextChars- the minSearchTextChars to set
-
getTypeDelay
public Integer getTypeDelay()
- Returns:
- the typeDelay
-
setTypeDelay
public void setTypeDelay(Integer typeDelay)
- Parameters:
typeDelay- the typeDelay to set
-
getGroupHeaderTpl
public String getGroupHeaderTpl()
- Returns:
- the groupHeaderTpl
-
setGroupHeaderTpl
public void setGroupHeaderTpl(String groupHeaderTpl)
- Parameters:
groupHeaderTpl- the groupHeaderTpl to set
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-