diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-01-24 23:03:08 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-01-24 23:03:08 +0000 |
commit | efb193d6fbea2423d03eebf30e2359a6612134c1 (patch) | |
tree | 4dc77e89cae8c8154b6646583035492675eb21d4 /src/net/cbaines/suma/Stop.java | |
parent | f13680dc5ca55401484ea23fc9493a938cb8ae73 (diff) | |
download | southamptonuniversitymap-efb193d6fbea2423d03eebf30e2359a6612134c1.tar southamptonuniversitymap-efb193d6fbea2423d03eebf30e2359a6612134c1.tar.gz |
Many changes, began working on implementing filtering and route navigation within BusTimeActivity.
Diffstat (limited to 'src/net/cbaines/suma/Stop.java')
-rw-r--r-- | src/net/cbaines/suma/Stop.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/net/cbaines/suma/Stop.java b/src/net/cbaines/suma/Stop.java index 2fa8d33..04eb118 100644 --- a/src/net/cbaines/suma/Stop.java +++ b/src/net/cbaines/suma/Stop.java @@ -33,28 +33,30 @@ public class Stop { int id; @DatabaseField(canBeNull = false) - String name; + public String name; @DatabaseField(canBeNull = false, foreign = true) BusStop destStop; @DatabaseField(canBeNull = true, foreign = true) - Bus bus; + public Bus bus; @DatabaseField(canBeNull = false, foreign = true) - BusStop busStop; + public BusStop busStop; @DatabaseField(canBeNull = false) - Date arivalTime; + public Date arivalTime; @DatabaseField(canBeNull = false) Date timeOfFetch; + BusRoute route; + Stop() { } - Stop(String name, BusStop busStop, BusStop dest, Bus bus, Date arivalTime, Date timeOfFetch) { + public Stop(String name, BusStop busStop, BusStop dest, Bus bus, Date arivalTime, Date timeOfFetch) { this.name = name; this.busStop = busStop; this.destStop = dest; @@ -63,7 +65,7 @@ public class Stop { this.timeOfFetch = timeOfFetch; } - Stop(String name, BusStop busStop, BusStop dest, Date arivalTime, Date timeOfFetch) { + public Stop(String name, BusStop busStop, BusStop dest, Date arivalTime, Date timeOfFetch) { this(name, busStop, dest, null, arivalTime, timeOfFetch); } |