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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 237 by torben, Sat Aug 8 19:02:20 2009 UTC revision 310 by torben, Thu Sep 10 19:09:09 2009 UTC
# Line 1  Line 1 
1  package dk.thoerup.traininfo;  package dk.thoerup.traininfo;
2    
3  public class StationBean {  import java.io.Serializable;
4    
5    
6    public class StationBean implements Serializable{
7            
8            private static final long serialVersionUID = 1L;
9            
10            private int id;
11    
12    
13          private String name;          private String name;
14          private double longitude;          private double longitude;
15          private double latitude;          private double latitude;
16          private int distance;          private int distance;
17          private String address;          private String address;
18            private String code;
19                    
20            public StationBean() {          
21            }
22                    
23          public StationBean(String name, double latitude, double longitude, int  distance, String address) {          public StationBean(String name, double latitude, double longitude, int  distance, String address) {
24                  this.name = name;                  this.name = name;
# Line 32  public class StationBean { Line 44  public class StationBean {
44          public String getAddress() {          public String getAddress() {
45                  return address;                  return address;
46          }          }
47    
48            public String getCode() {
49                    return code;
50            }
51                    
52    
53            public void setCode(String code) {
54                    this.code = code;
55            }
56    
57            public void setName(String name) {
58                    this.name = name;
59            }
60    
61            public void setLongitude(double longitude) {
62                    this.longitude = longitude;
63            }
64    
65            public void setLatitude(double latitude) {
66                    this.latitude = latitude;
67            }
68    
69            public void setDistance(int distance) {
70                    this.distance = distance;
71            }
72    
73            public void setAddress(String address) {
74                    this.address = address;
75            }
76    
77            public int getId() {
78                    return id;
79            }
80    
81            public void setId(int id) {
82                    this.id = id;
83            }
84                    
85                    
86  }  }

Legend:
Removed from v.237  
changed lines
  Added in v.310

  ViewVC Help
Powered by ViewVC 1.1.20