Package org.n52.shetland.ogc.om
Class TimeValuePair
- java.lang.Object
-
- org.n52.shetland.ogc.om.TimeValuePair
-
- All Implemented Interfaces:
Comparable<TimeValuePair>
- Direct Known Subclasses:
TimeLocationValueTriple
public class TimeValuePair extends Object implements Comparable<TimeValuePair>
Class representing a time value pair- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TimeValuePair(Time time, Value<?> value)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TimeValuePair o)booleanequals(Object obj)TimegetTime()Get time value pair timeValue<?>getValue()Get time value pair valueinthashCode()voidsetTime(Time time)Set time value pair timevoidsetValue(Value<?> value)Set time value pair value
-
-
-
Method Detail
-
getTime
public Time getTime()
Get time value pair time- Returns:
- Time value pair time
-
getValue
public Value<?> getValue()
Get time value pair value- Returns:
- Time value pair value
-
setTime
public void setTime(Time time)
Set time value pair time- Parameters:
time- Time value pair time to set
-
setValue
public void setValue(Value<?> value)
Set time value pair value- Parameters:
value- Time value pair value to set
-
compareTo
public int compareTo(TimeValuePair o)
- Specified by:
compareToin interfaceComparable<TimeValuePair>
-
-