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

Annotation of /android/TrainInfo/src/dk/thoerup/traininfo/TimetableBean.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 495 - (hide annotations) (download)
Wed Nov 4 08:26:40 2009 UTC (14 years, 7 months ago) by torben
File size: 781 byte(s)
All the beans must be serializable (or the application will crash if the user presses the home/start-page button)
1 torben 352 package dk.thoerup.traininfo;
2    
3 torben 495 import java.io.Serializable;
4    
5     public class TimetableBean implements Serializable{
6     private static final long serialVersionUID = 1L;
7    
8 torben 352 private String station;
9     private String arrival;
10     private String departure;
11     private boolean current;
12    
13     public String getStation() {
14     return station;
15     }
16     public void setStation(String station) {
17     this.station = station;
18     }
19    
20     public String getArrival() {
21     return arrival;
22     }
23     public void setArrival(String arrival) {
24     this.arrival = arrival;
25     }
26    
27     public String getDeparture() {
28     return departure;
29     }
30     public void setDeparture(String departure) {
31     this.departure = departure;
32     }
33    
34     public boolean isCurrent() {
35     return current;
36     }
37     public void setCurrent(boolean current) {
38     this.current = current;
39     }
40    
41     }

  ViewVC Help
Powered by ViewVC 1.1.20