aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/Building.java
diff options
context:
space:
mode:
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 + ")";
+ }
}