/[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 237 - (show annotations) (download)
Sat Aug 8 19:02:20 2009 UTC (14 years, 9 months ago) by torben
File size: 725 byte(s)
First version
1 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 }

  ViewVC Help
Powered by ViewVC 1.1.20