aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Geofence.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-28 08:09:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-28 16:11:07 +1300
commit9120ff19ab2bdd466ae5c30632efd1917faa71b1 (patch)
tree7cbac795c7f2ec56a5e0ed0e474642a2113222dc /src/org/traccar/model/Geofence.java
parent39452c3e0af164e6d63696afaf874c13c7ee8b5f (diff)
downloadtrackermap-server-9120ff19ab2bdd466ae5c30632efd1917faa71b1.tar.gz
trackermap-server-9120ff19ab2bdd466ae5c30632efd1917faa71b1.tar.bz2
trackermap-server-9120ff19ab2bdd466ae5c30632efd1917faa71b1.zip
Add separate QueryIgnore annotation (fix #2962)
Diffstat (limited to 'src/org/traccar/model/Geofence.java')
-rw-r--r--src/org/traccar/model/Geofence.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/model/Geofence.java b/src/org/traccar/model/Geofence.java
index ffd4876bf..dfb888852 100644
--- a/src/org/traccar/model/Geofence.java
+++ b/src/org/traccar/model/Geofence.java
@@ -18,6 +18,7 @@ package org.traccar.model;
import java.text.ParseException;
import org.traccar.Context;
+import org.traccar.database.QueryIgnore;
import org.traccar.geofence.GeofenceCircle;
import org.traccar.geofence.GeofenceGeometry;
import org.traccar.geofence.GeofencePolygon;
@@ -74,11 +75,13 @@ public class Geofence extends Extensible {
private GeofenceGeometry geometry;
+ @QueryIgnore
@JsonIgnore
public GeofenceGeometry getGeometry() {
return geometry;
}
+ @QueryIgnore
@JsonIgnore
public void setGeometry(GeofenceGeometry geometry) {
area = geometry.toWkt();