1 |
torben |
237 |
package dk.thoerup.traininfo;
|
2 |
|
|
|
3 |
|
|
public class StationBean {
|
4 |
|
|
private String name;
|
5 |
|
|
private double longitude;
|
6 |
|
|
private double latitude;
|
7 |
|
|
private int distance;
|
8 |
|
|
private String address;
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
public StationBean(String name, double latitude, double longitude, int distance, String address) {
|
12 |
|
|
this.name = name;
|
13 |
|
|
this.longitude = longitude;
|
14 |
|
|
this.latitude = latitude;
|
15 |
|
|
this.distance = distance;
|
16 |
|
|
this.address = address;
|
17 |
|
|
}
|
18 |
|
|
|
19 |
|
|
public String getName() {
|
20 |
|
|
return name;
|
21 |
|
|
}
|
22 |
|
|
public double getLongitude() {
|
23 |
|
|
return longitude;
|
24 |
|
|
}
|
25 |
|
|
public double getLatitude() {
|
26 |
|
|
return latitude;
|
27 |
|
|
}
|
28 |
|
|
public int getDistance() {
|
29 |
|
|
return distance;
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
public String getAddress() {
|
33 |
|
|
return address;
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
}
|