diff options
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Notification.java | 10 | ||||
-rw-r--r-- | src/org/traccar/model/Typed.java (renamed from src/org/traccar/model/CommandType.java) | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/org/traccar/model/Notification.java b/src/org/traccar/model/Notification.java index e7bb69903..9d6034fff 100644 --- a/src/org/traccar/model/Notification.java +++ b/src/org/traccar/model/Notification.java @@ -17,14 +17,14 @@ package org.traccar.model; public class Notification extends ExtendedModel { - private long userId; + private boolean always; - public long getUserId() { - return userId; + public boolean getAlways() { + return always; } - public void setUserId(long userId) { - this.userId = userId; + public void setAlways(boolean always) { + this.always = always; } private String type; diff --git a/src/org/traccar/model/CommandType.java b/src/org/traccar/model/Typed.java index 210316f71..313ec7bcd 100644 --- a/src/org/traccar/model/CommandType.java +++ b/src/org/traccar/model/Typed.java @@ -15,11 +15,11 @@ */ package org.traccar.model; -public class CommandType { +public class Typed { private String type; - public CommandType(String type) { + public Typed(String type) { this.type = type; } |