Mercurial > hg > STI-GWT
changeset 13:3316a738ac72
fixed long/lat get
added get for timestamp and timespan
author | Sebastian Kruse <skruse@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 26 Nov 2012 14:36:42 +0100 |
parents | a6cc5a811984 |
children | fef6080e83ad |
files | src/econnect/wp3_3/client/core/DataObject.java |
diffstat | 1 files changed, 46 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/econnect/wp3_3/client/core/DataObject.java Mon Nov 26 14:33:18 2012 +0100 +++ b/src/econnect/wp3_3/client/core/DataObject.java Mon Nov 26 14:36:42 2012 +0100 @@ -46,6 +46,24 @@ }-*/; /** + * Getter for the lon of the DataObject + * + * @return place of the data object + */ + public final native String getLon() /*-{ + return this.longitude; + }-*/; + + /** + * Getter for the lat of the DataObject + * + * @return place of the data object + */ + public final native String getLat() /*-{ + return this.latitude; + }-*/; + + /** * Getter for the place of the DataObject * * @return place of the data object @@ -54,7 +72,7 @@ return this.place; }-*/; - /** + /** * Getter for the status of the DataObject * * @return status of the data object @@ -82,6 +100,33 @@ }-*/; /** + * Getter for the timeStamp of the DataObject + * + * @return time of the data object as string representation + */ + public final native String getTimeStamp() /*-{ + return this.getTimeStampString(); + }-*/; + + /** + * Getter for the start of the timeSpan of the DataObject + * + * @return time of the data object as string representation + */ + public final native String getTimeSpanStart() /*-{ + return this.getTimeSpanStartString(); + }-*/; + + /** + * Getter for the end of the timeSpan of the DataObject + * + * @return time of the data object as string representation + */ + public final native String getTimeSpanEnd() /*-{ + return this.getTimeSpanEndString(); + }-*/; + + /** * Setter for the hover status of the DataObject * * @param hover boolean value is true, if the object is hovered