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