Class GeocoderAddress


  • public class GeocoderAddress
    extends Object
    POJO for an entity in Google geocoders address_components Array

    See also: Google Geocoder Result Documentation
    Note:
    The most documentation in this class a have been adopted by Google documentation.
    Say thank you to Google!

    Author:
    Mathias Born - Contact: www.mathiasborn.de
    • Constructor Detail

      • GeocoderAddress

        public GeocoderAddress()
    • Method Detail

      • getLongName

        public String getLongName()
        Returns:
        the longName
      • setLongName

        public void setLongName​(String longName)
        Set the full text description or name of the address component
        Parameters:
        longName - the longName to set
      • getShortName

        public String getShortName()
        Get the full text description or name of the address component
        Returns:
        the shortName
      • setShortName

        public void setShortName​(String shortName)
        Set an abbreviated textual name for the address component
        Parameters:
        shortName - the shortName to set
      • getTypes

        public String[] getTypes()
        Get an array that indicating the type of the address component.
        Returns:
        the types
      • setTypes

        public void setTypes​(String[] types)
        Set an array that indicating the type of the address component.
        Parameters:
        types - the types to set