0
|
1 package de.mpiwg.anteater.places;
|
|
2
|
|
3 public class Place {
|
|
4
|
|
5 public final static String TOWN = "Town";
|
|
6 public final static String COUNTY = "County";
|
|
7 public final static String STATE = "State";
|
|
8 public final static String COUNTRY = "Country";
|
|
9 public final static String SUBURB = "Suburb";
|
|
10 public final static String POI = "POI";
|
|
11 public final static String ZIP = "Zip";
|
|
12 public final static String OCEAN = "Ocean";
|
|
13
|
|
14 private String woeId;
|
|
15 private String type;
|
|
16 private float latitude;
|
|
17 private float longitude;
|
|
18 private int confidence;
|
|
19 private String name;
|
|
20
|
|
21
|
|
22 public void setWoeId(String woeId) {
|
|
23 this.woeId = woeId;
|
|
24 }
|
|
25 public String getWoeId() {
|
|
26 return woeId;
|
|
27 }
|
|
28 public void setType(String type) {
|
|
29 this.type = type;
|
|
30 }
|
|
31 public String getType() {
|
|
32 return type;
|
|
33 }
|
|
34 public void setLatitude(float latitude) {
|
|
35 this.latitude = latitude;
|
|
36 }
|
|
37 public float getLatitude() {
|
|
38 return latitude;
|
|
39 }
|
|
40 public void setLongitude(float longitude) {
|
|
41 this.longitude = longitude;
|
|
42 }
|
|
43 public float getLongitude() {
|
|
44 return longitude;
|
|
45 }
|
|
46 public void setConfidence(int confidence) {
|
|
47 this.confidence = confidence;
|
|
48 }
|
|
49 public int getConfidence() {
|
|
50 return confidence;
|
|
51 }
|
|
52 public void setName(String name) {
|
|
53 this.name = name;
|
|
54 }
|
|
55 public String getName() {
|
|
56 return name;
|
|
57 }
|
|
58 }
|