# HG changeset patch # User Sebastian Kruse # Date 1353937002 -3600 # Node ID 3316a738ac72b64a55af91f2a1333438e59acdcd # Parent a6cc5a811984548093e16adc8f8afaf8ddcece72 fixed long/lat get added get for timestamp and timespan diff -r a6cc5a811984 -r 3316a738ac72 src/econnect/wp3_3/client/core/DataObject.java --- 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