diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-28 22:41:07 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-28 22:41:07 +1200 |
commit | a5f47492857a175548beff07cfb565129f687ae2 (patch) | |
tree | d5650b6f5db7de9296d8d00cab505b9f594112f6 /src/org/traccar/model/User.java | |
parent | c14f99819add0971a82ced01bf6d54ed77aedb74 (diff) | |
download | trackermap-server-a5f47492857a175548beff07cfb565129f687ae2.tar.gz trackermap-server-a5f47492857a175548beff07cfb565129f687ae2.tar.bz2 trackermap-server-a5f47492857a175548beff07cfb565129f687ae2.zip |
Implement API to create devices
Diffstat (limited to 'src/org/traccar/model/User.java')
-rw-r--r-- | src/org/traccar/model/User.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index a3eaf5a10..77740e987 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -15,12 +15,13 @@ */ package org.traccar.model; +import java.sql.ResultSet; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; -import org.traccar.database.JsonConvertable; +import org.traccar.database.Convertable; -public class User implements JsonConvertable { +public class User implements Convertable { private long id; @@ -79,5 +80,9 @@ public class User implements JsonConvertable { longitude = json.getJsonNumber("longitude").doubleValue(); zoom = json.getJsonNumber("zoom").intValue(); } - + + @Override + public void fromRecord(ResultSet record) { + } + } |