Class GeocoderAddress
- java.lang.Object
-
- 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
Constructors Constructor Description GeocoderAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLongName()
String
getShortName()
Get the full text description or name of the address componentString[]
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 componentvoid
setShortName(String shortName)
Set an abbreviated textual name for the address componentvoid
setTypes(String[] types)
Set an array that indicating the type of the address component.
-
-
-
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
-
-