Class OverpassSearch

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class OverpassSearch
    extends Module
    A search module working with the OSM Overpass API.
    Author:
    Kai Volland
    See Also:
    Serialized Form
    • Constructor Detail

      • OverpassSearch

        public OverpassSearch()
        Explicitly adding the default constructor as this is important, e.g. for Hibernate: http://goo.gl/3Cr1pw
    • Method Detail

      • getResultLimit

        public java.lang.Integer getResultLimit()
        Returns:
        the limit
      • setResultLimit

        public void setResultLimit​(java.lang.Integer resultLimit)
        Parameters:
        resultLimit - the limit 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()
        Overrides:
        hashCode in class Module
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Module
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate