Class GeocoderAddress
java.lang.Object
org.wicketstuff.gmap.geocoder.pojos.GeocoderAddress
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
-
Method Summary
Modifier and TypeMethodDescriptionGet 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
Set an array that indicating the type of the address component.
-
Constructor Details
-
GeocoderAddress
public GeocoderAddress()
-
-
Method Details
-
getLongName
- Returns:
- the longName
-
setLongName
Set the full text description or name of the address component- Parameters:
longName
- the longName to set
-
getShortName
Get the full text description or name of the address component- Returns:
- the shortName
-
setShortName
Set an abbreviated textual name for the address component- Parameters:
shortName
- the shortName to set
-
getTypes
Get an array that indicating the type of the address component.- Returns:
- the types
-
setTypes
Set an array that indicating the type of the address component.- Parameters:
types
- the types to set
-