aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/DeviceProperties.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web/client/model/DeviceProperties.java')
-rw-r--r--src/org/traccar/web/client/model/DeviceProperties.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/model/DeviceProperties.java b/src/org/traccar/web/client/model/DeviceProperties.java
new file mode 100644
index 00000000..2c56ff6d
--- /dev/null
+++ b/src/org/traccar/web/client/model/DeviceProperties.java
@@ -0,0 +1,17 @@
+package org.traccar.web.client.model;
+
+import org.traccar.web.shared.model.Device;
+
+import com.sencha.gxt.core.client.ValueProvider;
+import com.sencha.gxt.data.shared.ModelKeyProvider;
+import com.sencha.gxt.data.shared.PropertyAccess;
+
+public interface DeviceProperties extends PropertyAccess<Device> {
+
+ ModelKeyProvider<Device> id();
+
+ ValueProvider<Device, String> uniqueId();
+
+ ValueProvider<Device, String> name();
+
+}