/[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 258 - (show annotations) (download)
Mon Aug 10 19:37:18 2009 UTC (14 years, 9 months ago) by torben
File size: 837 byte(s)
Also make the station list work correctly when device is flipped
1 package dk.thoerup.traininfo;
2
3 import java.io.Serializable;
4
5 public class StationBean implements Serializable{
6
7 private static final long serialVersionUID = 1L;
8
9 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 }

  ViewVC Help
Powered by ViewVC 1.1.20