aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-08 15:08:33 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-08 15:08:33 +1300
commiteb4ee7a9d4d0f132546b164c3483d62eb9e9f0db (patch)
tree29bc56f0f67cd49bac31a50e415c614ed4b1c5dc /src/org/traccar/model
parent320d41863864485c5675c9bf8332ff0845e5e812 (diff)
downloadtraccar-server-eb4ee7a9d4d0f132546b164c3483d62eb9e9f0db.tar.gz
traccar-server-eb4ee7a9d4d0f132546b164c3483d62eb9e9f0db.tar.bz2
traccar-server-eb4ee7a9d4d0f132546b164c3483d62eb9e9f0db.zip
Clean up reported PMD issues
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Device.java32
-rw-r--r--src/org/traccar/model/User.java8
2 files changed, 40 insertions, 0 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java
index 09d9ce0ab..7622f78cd 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/org/traccar/model/Device.java
@@ -56,10 +56,42 @@ public class Device implements Factory {
private String status;
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
private Date lastUpdate;
+ public Date getLastUpdate() {
+ return lastUpdate;
+ }
+
+ public void setLastUpdate(Date lastUpdate) {
+ this.lastUpdate = lastUpdate;
+ }
+
private long positionId;
+ public long getPositionId() {
+ return positionId;
+ }
+
+ public void setPositionId(long positionId) {
+ this.positionId = positionId;
+ }
+
private long dataId;
+ public long getDataId() {
+ return dataId;
+ }
+
+ public void setDataId(long dataId) {
+ this.dataId = dataId;
+ }
+
}
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java
index 05437dd97..f9534b87d 100644
--- a/src/org/traccar/model/User.java
+++ b/src/org/traccar/model/User.java
@@ -57,6 +57,14 @@ public class User implements Factory {
private boolean readonly;
+ public boolean getReadonly() {
+ return readonly;
+ }
+
+ public void setReadonly(boolean readonly) {
+ this.readonly = readonly;
+ }
+
private boolean admin;
public boolean getAdmin() {