aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/PositionProperties.java
blob: 111614a3e5dc3329ea68e835d78a9a58bef24871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package org.traccar.web.client.model;

import java.util.Date;

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

import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;

public interface PositionProperties extends PropertyAccess<Position> {

    ModelKeyProvider<Position> id();

    ValueProvider<Position, Date> time();

    ValueProvider<Position, Boolean> valid();

    ValueProvider<Position, Double> latitude();

    ValueProvider<Position, Double> longitude();

    ValueProvider<Position, Double> altitude();

    ValueProvider<Position, Double> speed();

    ValueProvider<Position, Double> course();

    ValueProvider<Position, Double> power();

    ValueProvider<Position, String> address();

}