aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Device.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-27 12:01:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-27 12:01:43 +1200
commitd560f0cfdbbe9639e681bfeedd25d4de845d6161 (patch)
tree3845758ede6bafb9ee8d5fc2bda37de446ae9f34 /src/org/traccar/model/Device.java
parent8e24c10cdc42fdece70d420b206bb6062edb589c (diff)
downloadtrackermap-server-d560f0cfdbbe9639e681bfeedd25d4de845d6161.tar.gz
trackermap-server-d560f0cfdbbe9639e681bfeedd25d4de845d6161.tar.bz2
trackermap-server-d560f0cfdbbe9639e681bfeedd25d4de845d6161.zip
Refactor model classes
Diffstat (limited to 'src/org/traccar/model/Device.java')
-rw-r--r--src/org/traccar/model/Device.java34
1 files changed, 10 insertions, 24 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java
index cd1985e37..273faebcf 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/org/traccar/model/Device.java
@@ -20,37 +20,23 @@ import java.util.Date;
public class Device {
private long id;
-
- public long getId() {
- return id;
- }
-
- public void setId(long id) {
- this.id = id;
- }
+ public long getId() { return id; }
+ public void setId(long id) { this.id = id; }
private String name;
-
- public String getName() {
- return uniqueId;
- }
-
- public void setName(String name) {
- this.name = name;
- }
+ public String getName() { return uniqueId; }
+ public void setName(String name) { this.name = name; }
private String uniqueId;
-
- public String getUniqueId() {
- return uniqueId;
- }
-
- public void setUniqueId(String uniqueId) {
- this.uniqueId = uniqueId;
- }
+ public String getUniqueId() { return uniqueId; }
+ public void setUniqueId(String uniqueId) { this.uniqueId = uniqueId; }
private String status;
private Date lastUpdate;
+
+ private long positionId;
+
+ private long dataId;
}