Package org.geonames

Class PostalCodeSearchCriteria


  • public class PostalCodeSearchCriteria
    extends Object
    search criteria for web services returning postal codes
    Author:
    marc@geonames
    • Constructor Detail

      • PostalCodeSearchCriteria

        public PostalCodeSearchCriteria()
    • Method Detail

      • getStyle

        public Style getStyle()
        Returns:
        Returns the style.
      • setStyle

        public void setStyle​(Style style)
        Parameters:
        style - The style to set.
      • getCountryCode

        public String getCountryCode()
        Returns:
        Returns the ISO 3166-1-alpha-2 countryCode.
      • getLatitude

        public Double getLatitude()
        Returns:
        Returns the latitude.
      • getLongitude

        public Double getLongitude()
        Returns:
        Returns the longitude.
      • getPlaceName

        public String getPlaceName()
        Returns:
        Returns the placeName.
      • setPlaceName

        public void setPlaceName​(String placeName)
        Parameters:
        placeName - The placeName to set.
      • getPostalCode

        public String getPostalCode()
        Returns:
        Returns the postalCode.
      • setPostalCode

        public void setPostalCode​(String postalCode)
        Parameters:
        postalCode - The postalCode to set.
      • getMaxRows

        public int getMaxRows()
        Returns:
        the maxRows
      • setMaxRows

        public void setMaxRows​(int maxRows)
        Parameters:
        maxRows - the maxRows to set
      • setOROperator

        public void setOROperator​(boolean isOROperator)
        Parameters:
        isOROperator - the isOROperator to set
      • isOROperator

        public boolean isOROperator()
        Returns:
        the isOROperator
      • getAdminCode1

        public String getAdminCode1()
        Returns:
        the adminCode1
      • setAdminCode1

        public void setAdminCode1​(String adminCode1)
        Parameters:
        adminCode1 - the adminCode1 to set
      • setRadius

        public void setRadius​(double radius)
        the radius in km to be used for reverse geocoding.
        Parameters:
        radius - the radius to set
      • getRadius

        public double getRadius()
        Returns:
        the radius
      • getCountryBias

        public String getCountryBias()
        Returns:
        the countryBias
      • setCountryBias

        public void setCountryBias​(String countryBias)
        Parameters:
        countryBias - the countryBias to set
      • getStartRow

        public int getStartRow()
        Returns:
        the startRow
      • setStartRow

        public void setStartRow​(int startRow)
        Parameters:
        startRow - the startRow to set
      • isReduced

        public Boolean isReduced()
        Returns:
        the isReduced
      • setIsReduced

        public void setIsReduced​(Boolean isReduced)
        Parameters:
        isReduced - the isReduced to set
      • getBoundingBox

        public BoundingBox getBoundingBox()
        Returns:
        the boundingBox
      • setBoundingBox

        public void setBoundingBox​(BoundingBox boundingBox)
        Parameters:
        boundingBox - the boundingBox to set