Mercurial > hg > anteater
diff src/de/mpiwg/anteater/places/Place.java @ 0:036535fcd179
anteater
author | jdamerow |
---|---|
date | Fri, 14 Sep 2012 10:30:43 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/de/mpiwg/anteater/places/Place.java Fri Sep 14 10:30:43 2012 +0200 @@ -0,0 +1,58 @@ +package de.mpiwg.anteater.places; + +public class Place { + + public final static String TOWN = "Town"; + public final static String COUNTY = "County"; + public final static String STATE = "State"; + public final static String COUNTRY = "Country"; + public final static String SUBURB = "Suburb"; + public final static String POI = "POI"; + public final static String ZIP = "Zip"; + public final static String OCEAN = "Ocean"; + + private String woeId; + private String type; + private float latitude; + private float longitude; + private int confidence; + private String name; + + + public void setWoeId(String woeId) { + this.woeId = woeId; + } + public String getWoeId() { + return woeId; + } + public void setType(String type) { + this.type = type; + } + public String getType() { + return type; + } + public void setLatitude(float latitude) { + this.latitude = latitude; + } + public float getLatitude() { + return latitude; + } + public void setLongitude(float longitude) { + this.longitude = longitude; + } + public float getLongitude() { + return longitude; + } + public void setConfidence(int confidence) { + this.confidence = confidence; + } + public int getConfidence() { + return confidence; + } + public void setName(String name) { + this.name = name; + } + public String getName() { + return name; + } +}