public interface PointData
Modifier and Type | Method and Description |
---|---|
void |
clearPoint()
Clears the point data and removes the extension point.
|
Point |
getGeoLocation()
Gets the geo-location of the entity.
|
void |
setGeoLocation(java.lang.Double lat,
java.lang.Double lon)
Sets the geo-location of the entity based on the lat and long coordinates
passed in.
|
void |
setGeoLocation(Point point)
Sets the geo-location of the entity based on the Point extension.
|
void setGeoLocation(java.lang.Double lat, java.lang.Double lon) throws java.lang.IllegalArgumentException
lat
- The latitude coordinate, between -90 and 90 degrees.lon
- The longitude coordinate, between -180 and 180 degrees.java.lang.IllegalArgumentException
- if the latitude and longitude coordinates
are invalid.void setGeoLocation(Point point)
point
- A point containing the latitude and longitude coordinates.Point getGeoLocation()
void clearPoint()