Package org.openremote.model.datapoint
Class Datapoint
java.lang.Object
org.openremote.model.datapoint.Datapoint
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetDatapoint
,AssetPredictedDatapoint
A datapoint is used to hold time series data of an entity attribute.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDatapoint
(AttributeEvent stateEvent) Datapoint
(AttributeRef attributeRef, Object value, long timestamp) Datapoint
(AttributeState attributeState, long timestamp) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getValue()
int
hashCode()
void
setAssetId
(String assetId) void
setAttributeName
(String attributeName) void
setTimestamp
(long timestamp) void
toString()
-
Field Details
-
assetId
-
attributeName
-
timestamp
-
value
-
-
Constructor Details
-
Datapoint
public Datapoint() -
Datapoint
-
Datapoint
-
Datapoint
-
Datapoint
-
-
Method Details
-
getAssetId
-
setAssetId
-
getAttributeName
-
setAttributeName
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
getValue
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-