public class Location extends Object implements Serializable
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
static Location |
fromJSON(JSONObject json) |
String |
getDebug() |
String |
getDistance() |
EditorKey |
getMapKey() |
Boolean |
getSharing() |
String |
getTime() |
Date |
getTimestamp() |
Integer |
getX() |
Integer |
getY() |
void |
setDebug(String debug) |
void |
setDistance(String distance) |
void |
setMapKey(EditorKey mapKey) |
void |
setSharing(Boolean sharing) |
void |
setTime(String time) |
void |
setTimestamp(Date timestamp) |
void |
setX(Integer x) |
void |
setY(Integer y) |
String |
toString() |
public static Location fromJSON(JSONObject json) throws JSONException
JSONException
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public EditorKey getMapKey()
public void setMapKey(EditorKey mapKey)
public Integer getX()
public void setX(Integer x)
public Integer getY()
public void setY(Integer y)
public String getDebug()
public void setDebug(String debug)
public String getDistance()
public void setDistance(String distance)
public String getTime()
public void setTime(String time)
public Boolean getSharing()
public void setSharing(Boolean sharing)