org.wicketstuff.gmap.geocoder.pojos
Class GeocoderAddress

java.lang.Object
  extended by org.wicketstuff.gmap.geocoder.pojos.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 Summary
GeocoderAddress()
           
 
Method Summary
 String getLongName()
           
 String getShortName()
          Get the full text description or name of the address component
 String[] getTypes()
          Get an array that indicating the type of the address component.
 void setLongName(String longName)
          Set the full text description or name of the address component
 void setShortName(String shortName)
          Set an abbreviated textual name for the address component
 void setTypes(String[] types)
          Set an array that indicating the type of the address component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2016. All rights reserved.