Package net.solarnetwork.domain.datum
Interface StreamDatum
- All Known Subinterfaces:
AggregateStreamDatum
- All Known Implementing Classes:
BasicAggregateStreamDatum,BasicStreamDatum
public interface StreamDatum
API for an object that exists within a unique stream at a specific point in
time and a set of property values.
- Since:
- 1.72
- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties associated with this datum.Get the unique ID of the stream this datum is a part of.Get the associated timestamp of this datum.
-
Method Details
-
getStreamId
UUID getStreamId()Get the unique ID of the stream this datum is a part of.- Returns:
- the stream ID
-
getTimestamp
Instant getTimestamp()Get the associated timestamp of this datum.This value represents the point in time the properties associated with this datum were observed, collected, inferred, predicted, etc.
- Returns:
- the timestamp for this datum
-
getProperties
DatumProperties getProperties()Get the properties associated with this datum.- Returns:
- the properties
-