Skip to content
Snippets Groups Projects
Commit cd7790a7 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Let user store a nursery type POI

parent 47ee984a
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,7 @@ public class PointOfInterestType implements Serializable { ...@@ -64,6 +64,7 @@ public class PointOfInterestType implements Serializable {
public static final int POINT_OF_INTEREST_TYPE_FIELD = 3; public static final int POINT_OF_INTEREST_TYPE_FIELD = 3;
public static final int POINT_OF_INTEREST_TYPE_REGION = 4; public static final int POINT_OF_INTEREST_TYPE_REGION = 4;
public static final int POINT_OF_INTEREST_TYPE_TRAP = 5; public static final int POINT_OF_INTEREST_TYPE_TRAP = 5;
public static final int POINT_OF_INTEREST_TYPE_NURSERY = 7;
public PointOfInterestType() { public PointOfInterestType() {
} }
......
...@@ -38,6 +38,8 @@ public class PointOfInterestFactory { ...@@ -38,6 +38,8 @@ public class PointOfInterestFactory {
return new PointOfInterestTypeRegion(); return new PointOfInterestTypeRegion();
case PointOfInterestType.POINT_OF_INTEREST_TYPE_TRAP: case PointOfInterestType.POINT_OF_INTEREST_TYPE_TRAP:
return new PointOfInterestTypeTrap(); return new PointOfInterestTypeTrap();
case PointOfInterestType.POINT_OF_INTEREST_TYPE_NURSERY:
return new PointOfInterestTypeNursery();
default: default:
return new PointOfInterest(); return new PointOfInterest();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment