From c41c2bf4b92557e6bb5d07968b8ddad9d9477dee Mon Sep 17 00:00:00 2001 From: DjBushido Date: Sat, 5 Apr 2014 17:02:07 -0400 Subject: [PATCH] Add initial Location for use in server communication --- .../src/edu/uncc/scavenger/rest/Location.java | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java b/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java index 635d98d..2276ba7 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java @@ -1,5 +1,41 @@ package edu.uncc.scavenger.rest; public class Location { - + + private int id; + private String name; + private String riddle; + private double locationLong; + private double locationLat; + + public int getId() { + return id; + } + public void setId(int id) { + this.id = id; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getRiddle() { + return riddle; + } + public void setRiddle(String riddle) { + this.riddle = riddle; + } + public double getLocationLong() { + return locationLong; + } + public void setLocationLong(double locationLong) { + this.locationLong = locationLong; + } + public double getLocationLat() { + return locationLat; + } + public void setLocationLat(double locationLat) { + this.locationLat = locationLat; + } }