public class Location extends Object
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
int |
getId() |
double |
getLatitude() |
static List<Location> |
getLocations()
pseudo-singleton; returns a list of all the locations loaded from the
properties file, ie a list of all the valid Locations.
|
double |
getLongitude() |
void |
setDescription(String description) |
void |
setId(int id) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
String |
toString() |
public static List<Location> getLocations()
public double getLatitude()
public void setLatitude(double latitude)
latitude
- public double getLongitude()
public void setLongitude(double longitude)
longitude
- public String getDescription()
public void setDescription(String description)
description
- public int getId()
public void setId(int id)
id
-