Class AddressComponent

java.lang.Object
ai.nextbillion.maps.model.AddressComponent
All Implemented Interfaces:
java.io.Serializable

public class AddressComponent
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String longName
    The full text description or name of the address component as returned by the Geocoder.
    java.lang.String shortName
    An abbreviated textual name for the address component, if available.
    AddressComponentType[] types
    Indicates the type of each part of the address.
  • Constructor Summary

    Constructors 
    Constructor Description
    AddressComponent()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • longName

      public java.lang.String longName
      The full text description or name of the address component as returned by the Geocoder.
    • shortName

      public java.lang.String shortName
      An abbreviated textual name for the address component, if available. For example, an address component for the state of Alaska may have a longName of "Alaska" and a shortName of "AK" using the 2-letter postal abbreviation.
    • types

      public AddressComponentType[] types
      Indicates the type of each part of the address. Examples include street number or country.
  • Constructor Details

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object