From 9df7d344301ba5b126dfae03e20de1f750672c04 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 19 Apr 2014 13:34:39 -0400 Subject: [PATCH] Add a location image to the RestLocation --- .../src/edu/uncc/scavenger/rest/RestLocation.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java b/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java index bb21916..89bb078 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java @@ -18,6 +18,7 @@ public class RestLocation implements Serializable{ private String riddle; private double locationLong; private double locationLat; + private String locationImageURL; private String key; public int getId() { @@ -57,6 +58,12 @@ public class RestLocation implements Serializable{ this.key = key; } + public String getLocationImageURL() { + return locationImageURL; + } + public void setLocationImageURL(String locationImageURL) { + this.locationImageURL = locationImageURL; + } public Location getLocation() { android.location.Location mLocation = new android.location.Location("NinerFinderServer"); mLocation.setLatitude(getLocationLat());