/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationBean.java
ViewVC logotype

Contents of /android/TrainInfo/src/dk/thoerup/traininfo/StationBean.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 294 - (show annotations) (download)
Tue Sep 1 20:28:55 2009 UTC (14 years, 8 months ago) by torben
File size: 1391 byte(s)
Some work on new xmlStationProvider
1 package dk.thoerup.traininfo;
2
3 import java.io.Serializable;
4
5
6 public class StationBean implements Serializable{
7
8 private static final long serialVersionUID = 1L;
9
10 private String name;
11 private double longitude;
12 private double latitude;
13 private int distance;
14 private String address;
15 private String code;
16
17 public StationBean() {
18 }
19
20 public StationBean(String name, double latitude, double longitude, int distance, String address) {
21 this.name = name;
22 this.longitude = longitude;
23 this.latitude = latitude;
24 this.distance = distance;
25 this.address = address;
26 }
27
28 public String getName() {
29 return name;
30 }
31 public double getLongitude() {
32 return longitude;
33 }
34 public double getLatitude() {
35 return latitude;
36 }
37 public int getDistance() {
38 return distance;
39 }
40
41 public String getAddress() {
42 return address;
43 }
44
45 public String getCode() {
46 return code;
47 }
48
49
50 public void setCode(String code) {
51 this.code = code;
52 }
53
54 public void setName(String name) {
55 this.name = name;
56 }
57
58 public void setLongitude(double longitude) {
59 this.longitude = longitude;
60 }
61
62 public void setLatitude(double latitude) {
63 this.latitude = latitude;
64 }
65
66 public void setDistance(int distance) {
67 this.distance = distance;
68 }
69
70 public void setAddress(String address) {
71 this.address = address;
72 }
73
74
75
76 }

  ViewVC Help
Powered by ViewVC 1.1.20