public class AssetPropertyValue extends Object implements Serializable
An asset property value entry containing the following information.
| Constructor and Description |
|---|
AssetPropertyValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getQuality()
Optional.
|
AssetPropertyTimestamp |
getTimestamp()
The asset property value timestamp.
|
AssetPropertyVariant |
getValue()
The value of the asset property.
|
int |
hashCode() |
void |
setQuality(String quality)
Optional.
|
void |
setTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
void |
setValue(AssetPropertyVariant value)
The value of the asset property.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssetPropertyValue |
withQuality(String quality)
Optional.
|
AssetPropertyValue |
withTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
AssetPropertyValue |
withValue(AssetPropertyVariant value)
The value of the asset property.
|
public AssetPropertyVariant getValue()
The value of the asset property.
The value of the asset property.
public void setValue(AssetPropertyVariant value)
The value of the asset property.
value - The value of the asset property.
public AssetPropertyValue withValue(AssetPropertyVariant value)
The value of the asset property.
Returns a reference to this object so that method calls can be chained together.
value - The value of the asset property.
public AssetPropertyTimestamp getTimestamp()
The asset property value timestamp.
The asset property value timestamp.
public void setTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
timestamp - The asset property value timestamp.
public AssetPropertyValue withTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
Returns a reference to this object so that method calls can be chained together.
timestamp - The asset property value timestamp.
public String getQuality()
Optional. A string that describes the quality of the value. Accepts
substitution templates. Must be GOOD, BAD, or
UNCERTAIN.
Optional. A string that describes the quality of the value.
Accepts substitution templates. Must be GOOD,
BAD, or UNCERTAIN.
public void setQuality(String quality)
Optional. A string that describes the quality of the value. Accepts
substitution templates. Must be GOOD, BAD, or
UNCERTAIN.
quality -
Optional. A string that describes the quality of the value.
Accepts substitution templates. Must be GOOD,
BAD, or UNCERTAIN.
public AssetPropertyValue withQuality(String quality)
Optional. A string that describes the quality of the value. Accepts
substitution templates. Must be GOOD, BAD, or
UNCERTAIN.
Returns a reference to this object so that method calls can be chained together.
quality -
Optional. A string that describes the quality of the value.
Accepts substitution templates. Must be GOOD,
BAD, or UNCERTAIN.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.