aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/DeviceProperties.java
blob: 2ba4d47f3994e1de09c2b4fd2d878130443bf2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.traccar.web.client.model;

import org.traccar.web.shared.model.Device;

import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.LabelProvider;
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();

    @Path("name")
    LabelProvider<Device> label();

}