-
Notifications
You must be signed in to change notification settings - Fork 2
/
Temporal.java
77 lines (65 loc) · 1.49 KB
/
Temporal.java
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package mil.nga.oapi.features.json;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* The temporal extent of the features in the collection.
*
* @author osbornb
*/
@JsonPropertyOrder({ "interval", "trs" })
public class Temporal {
/**
* Begin and end times of the time interval. The timestamps are in the
* coordinate reference system specified in `trs`. By default this is the
* Gregorian calendar.
*/
private List<String> interval = new ArrayList<>();
/**
* Coordinate reference system of the coordinates in the temporal extent
* (property `interval`). The default reference system is the Gregorian
* calendar. In the Core this is the only supported temporal reference
* system. Extensions may support additional temporal reference systems and
* add additional enum values.
*/
private String trs;
/**
* Constructor
*/
public Temporal() {
}
/**
* Get the interval
*
* @return interval
*/
public List<String> getInterval() {
return interval;
}
/**
* Set the interval
*
* @param interval
* interval
*/
public void setInterval(List<String> interval) {
this.interval = interval;
}
/**
* Get the Temporal reference system
*
* @return temporal reference system
*/
public String getTrs() {
return trs;
}
/**
* Set the temporal reference system
*
* @param trs
* reference system
*/
public void setTrs(String trs) {
this.trs = trs;
}
}