Package org.n52.shetland.ogc.om
Class TimeLocationValueTriple
- java.lang.Object
-
- org.n52.shetland.ogc.om.TimeValuePair
-
- org.n52.shetland.ogc.om.TimeLocationValueTriple
-
- All Implemented Interfaces:
Comparable<TimeValuePair>
public class TimeLocationValueTriple extends TimeValuePair
Class that hold the time, the location and the value.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TimeLocationValueTriple(Time time, Value<?> value, org.locationtech.jts.geom.Geometry location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TimeValuePair o)booleanequals(Object obj)org.locationtech.jts.geom.GeometrygetLocation()inthashCode()booleanisSetLocation()voidsetLocation(org.locationtech.jts.geom.Geometry location)-
Methods inherited from class org.n52.shetland.ogc.om.TimeValuePair
getTime, getValue, setTime, setValue
-
-
-
-
Method Detail
-
getLocation
public org.locationtech.jts.geom.Geometry getLocation()
- Returns:
- the location
-
setLocation
public void setLocation(org.locationtech.jts.geom.Geometry location)
- Parameters:
location- the location to set
-
isSetLocation
public boolean isSetLocation()
-
compareTo
public int compareTo(TimeValuePair o)
- Specified by:
compareToin interfaceComparable<TimeValuePair>- Overrides:
compareToin classTimeValuePair
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTimeValuePair
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classTimeValuePair
-
-