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>
Class that hold the time, the location and the value.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionTimeLocationValueTriple(Time time, Value<?> value, org.locationtech.jts.geom.Geometry location) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanorg.locationtech.jts.geom.GeometryinthashCode()booleanvoidsetLocation(org.locationtech.jts.geom.Geometry location) Methods inherited from class org.n52.shetland.ogc.om.TimeValuePair
getTime, getValue, setTime, setValue
-
Constructor Details
-
TimeLocationValueTriple
-
-
Method Details
-
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
- Specified by:
compareToin interfaceComparable<TimeValuePair>- Overrides:
compareToin classTimeValuePair
-
hashCode
public int hashCode()- Overrides:
hashCodein classTimeValuePair
-
equals
- Overrides:
equalsin classTimeValuePair
-