mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-03 18:00:37 -05:00 
			
		
		
		
	Add initial Location for use in server communication
This commit is contained in:
		@ -1,5 +1,41 @@
 | 
				
			|||||||
package edu.uncc.scavenger.rest;
 | 
					package edu.uncc.scavenger.rest;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public class Location {
 | 
					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;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user