Package lumis.portal.geolocation
Class ExtendedGeoPoint
- java.lang.Object
-
- lumis.portal.geolocation.GeoPoint
-
- lumis.portal.geolocation.ExtendedGeoPoint
-
- All Implemented Interfaces:
java.io.Serializable
@StableMinor(version="16.1", sinceVersion="10.2") public class ExtendedGeoPoint extends GeoPoint
Represents an extended version ofGeoPoint
. Besides latitude and longitude, provides optional geographic information, like city, state and country.- Since:
- 10.2.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<City>
getCity()
Returns an optional city information.java.util.Optional<Country>
getCountry()
Returns an optional country information.java.util.Optional<State>
getState()
Returns an optional state information.-
Methods inherited from class lumis.portal.geolocation.GeoPoint
equals, getLatitude, getLongitude, hashCode, toString
-
-
-
-
Method Detail
-
getCity
public java.util.Optional<City> getCity()
Returns an optional city information.- Returns:
- an optional city information.
- Since:
- 10.2.0
-
getState
public java.util.Optional<State> getState()
Returns an optional state information.- Returns:
- an optional state information.
- Since:
- 10.2.0
-
getCountry
public java.util.Optional<Country> getCountry()
Returns an optional country information.- Returns:
- an optional country information.
- Since:
- 10.2.0
-
-