aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/Building.java
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-28 22:27:49 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-28 22:27:49 +0000
commitcde3c08d7e9e486d7d1a795832ea1b767d96a4f3 (patch)
treef1af1424ebf5cb3a548a7d73257723395dccb267 /src/net/cbaines/suma/Building.java
parent7e88b00e017bde16c12e6adb78883acf7b2ba575 (diff)
parent5f2b8712079aeb5b7cee476b06b36013edac4fb3 (diff)
downloadsouthamptonuniversitymap-cde3c08d7e9e486d7d1a795832ea1b767d96a4f3.tar
southamptonuniversitymap-cde3c08d7e9e486d7d1a795832ea1b767d96a4f3.tar.gz
Merge branch 'dev'
Conflicts: src/net/cbaines/suma/BusSpecificStopView.java src/net/cbaines/suma/StopView.java
Diffstat (limited to 'src/net/cbaines/suma/Building.java')
-rw-r--r--src/net/cbaines/suma/Building.java56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/net/cbaines/suma/Building.java b/src/net/cbaines/suma/Building.java
index 8747a78..84c9b6c 100644
--- a/src/net/cbaines/suma/Building.java
+++ b/src/net/cbaines/suma/Building.java
@@ -27,38 +27,38 @@ import com.j256.ormlite.table.DatabaseTable;
@DatabaseTable(tableName = "buildings")
public class Building extends POI {
- public static final String NAME_FIELD_NAME = "name";
- public static final String RESIDENTIAL_FIELD_NAME = "residential";
- public static final String OUTLINE_FIELD_NAME = "outline";
+ public static final String NAME_FIELD_NAME = "name";
+ public static final String RESIDENTIAL_FIELD_NAME = "residential";
+ public static final String OUTLINE_FIELD_NAME = "outline";
- @DatabaseField(canBeNull = false)
- public String name;
- @DatabaseField(canBeNull = false)
- public boolean residential;
- @DatabaseField(dataType = DataType.SERIALIZABLE, canBeNull = true)
- Polygon outline;
+ @DatabaseField(canBeNull = false)
+ public String name;
+ @DatabaseField(canBeNull = false)
+ public boolean residential;
+ @DatabaseField(dataType = DataType.SERIALIZABLE, canBeNull = true)
+ Polygon outline;
- Building(String id, GeoPoint point, boolean residential, String name, Polygon outline) {
- super(id, point);
- this.residential = residential;
- this.name = name;
- this.outline = outline;
- this.type = POI.BUILDING;
- }
+ Building(String id, GeoPoint point, boolean residential, String name, Polygon outline) {
+ super(id, point);
+ this.residential = residential;
+ this.name = name;
+ this.outline = outline;
+ this.type = POI.BUILDING;
+ }
- public Building(String id, GeoPoint point, boolean residential, String name) {
- this(id, point, residential, name, null);
- }
+ public Building(String id, GeoPoint point, boolean residential, String name) {
+ this(id, point, residential, name, null);
+ }
- Building(String id, GeoPoint point, boolean residential) {
- this(id, point, residential, "");
- }
+ Building(String id, GeoPoint point, boolean residential) {
+ this(id, point, residential, "");
+ }
- Building() {
- this.type = POI.BUILDING;
- }
+ Building() {
+ this.type = POI.BUILDING;
+ }
- public String toString() {
- return name + " (" + id + ")";
- }
+ public String toString() {
+ return name + " (" + id + ")";
+ }
}