/[projects]/android/TrainInfoCommon/src/dk/thoerup/android/traininfo/common/DepartureEntry.java
ViewVC logotype

Contents of /android/TrainInfoCommon/src/dk/thoerup/android/traininfo/common/DepartureEntry.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1831 - (show annotations) (download)
Mon Aug 20 21:15:20 2012 UTC (11 years, 8 months ago) by torben
File size: 2048 byte(s)
Prepare databeanas for integration with tritinfo
1 package dk.thoerup.android.traininfo.common;
2
3 import java.io.Serializable;
4
5 import org.simpleframework.xml.Element;
6 import org.simpleframework.xml.Root;
7
8 @Root(name="train", strict=false)
9 public class DepartureEntry implements Serializable {
10
11 @Element
12 private String time;
13
14 @Element
15 private int updated;
16
17 @Element(name="trainnumber")
18 private String trainNumber;
19
20 @Element
21 private String destination;
22
23 @Element(required=false)
24 private String origin;
25
26 @Element(required=false)
27 private String location;
28
29 @Element(required=false)
30 private String status;
31
32 @Element(required=false)
33 private String note;
34
35 @Element
36 private String type;
37
38 @Element(required=false)
39 private String platform = "";
40
41
42
43 public String getTime() {
44 return time;
45 }
46 public void setTime(String time) {
47 this.time = time;
48 }
49 public int getUpdated() {
50 return updated;
51 }
52 public void setUpdated(int updated) {
53 this.updated = updated;
54 }
55 public String getTrainNumber() {
56 return trainNumber;
57 }
58 public void setTrainNumber(String trainNumber) {
59 this.trainNumber = trainNumber;
60 }
61 public String getDestination() {
62 return destination;
63 }
64 public void setDestination(String destination) {
65 this.destination = destination;
66 }
67 public String getOrigin() {
68 return origin;
69 }
70 public void setOrigin(String origin) {
71 this.origin = origin;
72 }
73 public String getLocation() {
74 return location;
75 }
76 public void setLocation(String location) {
77 this.location = location;
78 }
79 public String getStatus() {
80 return status;
81 }
82 public void setStatus(String status) {
83 this.status = status;
84 }
85 public String getNote() {
86 return note;
87 }
88 public void setNote(String note) {
89 this.note = note;
90 }
91
92 public String getType() {
93 return type;
94 }
95
96 public void setType(String type) {
97 this.type = type;
98 }
99 public String getPlatform() {
100 return platform;
101 }
102 public void setPlatform(String platform) {
103 this.platform = platform;
104 }
105
106
107
108 }

  ViewVC Help
Powered by ViewVC 1.1.20