|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PointData
Data interface for all geo-tagged extension points. This allows various entries and feeds to easily include a Point extension without dealing with the underlying implementation of the Point.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |