public class AssetPropertyValue extends Object
Constructor and Description |
---|
AssetPropertyValue()
No args constructor for use in serialization
|
AssetPropertyValue(Variant value,
TimeInNanos timestamp,
Quality quality) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Quality |
getQuality() |
TimeInNanos |
getTimestamp()
Contains a timestamp with optional nanosecond granularity.
|
Variant |
getValue()
Contains an asset property value (of a single type only).
|
int |
hashCode() |
void |
setQuality(Quality quality) |
void |
setTimestamp(TimeInNanos timestamp)
Contains a timestamp with optional nanosecond granularity.
|
void |
setValue(Variant value)
Contains an asset property value (of a single type only).
|
String |
toString() |
AssetPropertyValue |
withQuality(Quality quality) |
AssetPropertyValue |
withTimestamp(TimeInNanos timestamp) |
AssetPropertyValue |
withValue(Variant value) |
public AssetPropertyValue()
public AssetPropertyValue(Variant value, TimeInNanos timestamp, Quality quality)
value
- timestamp
- quality
- public Variant getValue()
public void setValue(Variant value)
public AssetPropertyValue withValue(Variant value)
public TimeInNanos getTimestamp()
public void setTimestamp(TimeInNanos timestamp)
public AssetPropertyValue withTimestamp(TimeInNanos timestamp)
public Quality getQuality()
public void setQuality(Quality quality)
public AssetPropertyValue withQuality(Quality quality)