Package io.vertigo.geo.geocoder
Class GeoLocation
- java.lang.Object
-
- io.vertigo.geo.geocoder.GeoLocation
-
public final class GeoLocation extends Object
Objet permettant de définir un emplacement par ses coordonnées.- Author:
- spoitrenaud
-
-
Field Summary
Fields Modifier and Type Field Description static GeoLocation
UNDEFINED
-
Constructor Summary
Constructors Constructor Description GeoLocation()
Constructeur public Notamment utilisé pour la désérialisation.GeoLocation(double latitude, double longitude)
GeoLocation(double latitude, double longitude, String countryCode, String level1, String level2, String locality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCountryCode()
double
getLatitude()
String
getLevel1()
String
getLevel2()
String
getLocality()
double
getLongitude()
boolean
isUndefined()
String
toString()
-
-
-
Field Detail
-
UNDEFINED
public static final GeoLocation UNDEFINED
-
-
Method Detail
-
getLatitude
public double getLatitude()
- Returns:
- Latitude du résultat
-
getLongitude
public double getLongitude()
- Returns:
- Longitude du résultat
-
isUndefined
public boolean isUndefined()
-
getLocality
public String getLocality()
-
getCountryCode
public String getCountryCode()
-
getLevel1
public String getLevel1()
-
getLevel2
public String getLevel2()
-
-