Package mil.nga.oapi.features.json
Class Temporal
- java.lang.Object
-
- mil.nga.oapi.features.json.Temporal
-
public class Temporal extends Object
The temporal extent of the features in the collection.- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description Temporal()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterval(List<String> interval)
Add an intervalList<String>
firstInterval()
Get the first intervalList<List<String>>
getInterval()
Get the interval collectionList<String>
getInterval(int index)
Get the interval at the indexString
getTrs()
Get the Temporal reference systemint
intervalCount()
Get the interval collection countvoid
setInterval(List<List<String>> interval)
Set the interval collectionvoid
setTrs(String trs)
Set the temporal reference system
-
-
-
Method Detail
-
getInterval
public List<List<String>> getInterval()
Get the interval collection- Returns:
- interval collection
- Since:
- 3.0.0
-
setInterval
public void setInterval(List<List<String>> interval)
Set the interval collection- Parameters:
interval
- interval collection- Since:
- 3.0.0
-
intervalCount
public int intervalCount()
Get the interval collection count- Returns:
- count
- Since:
- 3.0.0
-
firstInterval
public List<String> firstInterval()
Get the first interval- Returns:
- interval
- Since:
- 3.0.0
-
getInterval
public List<String> getInterval(int index)
Get the interval at the index- Parameters:
index
- 0 based index- Returns:
- interval
- Since:
- 3.0.0
-
addInterval
public void addInterval(List<String> interval)
Add an interval- Parameters:
interval
- single interval- Since:
- 3.0.0
-
getTrs
public String getTrs()
Get the Temporal reference system- Returns:
- temporal reference system
-
setTrs
public void setTrs(String trs)
Set the temporal reference system- Parameters:
trs
- reference system
-
-