Class TimeBasedValue<T extends Value>
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.timeseries.TimeSeriesEntry<T>
edu.ie3.datamodel.models.timeseries.individual.TimeBasedValue<T>
- Type Parameters:
T
- type of value
- All Implemented Interfaces:
Serializable
,Comparable<TimeBasedValue<? extends Value>>
public class TimeBasedValue<T extends Value>
extends TimeSeriesEntry<T>
implements Comparable<TimeBasedValue<? extends Value>>
Describes an entity of a time series by mapping a value to a timestamp
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.ie3.datamodel.models.UniqueEntity
UniqueEntity.UniqueEntityBuilder, UniqueEntity.UniqueEntityCopyBuilder<T extends UniqueEntity.UniqueEntityBuilder>
-
Field Summary
Fields inherited from class edu.ie3.datamodel.models.timeseries.TimeSeriesEntry
value
Fields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME
-
Constructor Summary
ConstructorDescriptionTimeBasedValue
(ZonedDateTime time, T value) TimeBasedValue
(UUID uuid, ZonedDateTime time, T value) -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.timeseries.TimeSeriesEntry
getValue
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
Constructor Details
-
TimeBasedValue
-
TimeBasedValue
-
-
Method Details
-
getTime
-
equals
- Overrides:
equals
in classTimeSeriesEntry<T extends Value>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTimeSeriesEntry<T extends Value>
-
toString
- Overrides:
toString
in classTimeSeriesEntry<T extends Value>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T extends Value>
-