-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGeoName.java
66 lines (51 loc) · 1.11 KB
/
GeoName.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package com.phonegap.plugin;
public class GeoName {
public GeoName(String url, String title, String summary,
double latitude, double longitude) {
super();
this.url = url;
this.title = title;
this.summary = summary;
this.latitude = latitude;
this.longitude = longitude;
}
private String url;
private String title;
private String summary;
private double latitude;
private double longitude;
public GeoName(double latitude, double longitude) {
this.latitude = latitude;
this.longitude = longitude;
}
public double getLatitude() {
return latitude;
}
public void setLatitude(double latitude) {
this.latitude = latitude;
}
public double getLongitude() {
return longitude;
}
public void setLongitude(double longitude) {
this.longitude = longitude;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
}