diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-02 18:39:00 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-02 18:39:00 +0000 |
commit | 6fe849cc34a06a3f5d7662ea6a4566a870b3edfa (patch) | |
tree | b8a3afd2adff9341932f540801e1c80151d55de9 /src/net/cbaines/suma/BusStop.java | |
parent | b47ae24a17925619029500a56998860496ce308f (diff) | |
download | southamptonuniversitymap-6fe849cc34a06a3f5d7662ea6a4566a870b3edfa.tar southamptonuniversitymap-6fe849cc34a06a3f5d7662ea6a4566a870b3edfa.tar.gz |
Improvements to the Preference management, begin allowing more bus data, need to rethink the data storage and retreval, perhaps using more semantic web stuff...
Diffstat (limited to 'src/net/cbaines/suma/BusStop.java')
-rw-r--r-- | src/net/cbaines/suma/BusStop.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/cbaines/suma/BusStop.java b/src/net/cbaines/suma/BusStop.java index c19e682..1e9faaa 100644 --- a/src/net/cbaines/suma/BusStop.java +++ b/src/net/cbaines/suma/BusStop.java @@ -35,6 +35,7 @@ public class BusStop extends POI { public static final String DESCRIPTION_FIELD_NAME = "description"; public static final String BAY_FIELD_NAME = "bay"; public static final String ROUTES_FIELD_NAME = "bay"; + public static final String UNI_LINK_FIELD_NAME = "uniLink"; /** * Description e.g. "Bournemouth Rd os Asda S" @@ -52,7 +53,10 @@ public class BusStop extends POI { * Used to speed up accessing the relevent uni link routes for a bus stop, this is not a uni link stop */ @DatabaseField(canBeNull = false) - public byte routes; + byte routes; + + @DatabaseField(canBeNull = false) + boolean uniLink; public BusStop(String location, String description, String bay, GeoPoint point) { this.id = location; |