public interface MonitoredAttribute
Monitored Attribute is the interface to represent a Monitorable Attribute. Using this interface, one can get the value of the attribute and set the value if it is a writeable attribute.
| Modifier and Type | Method and Description |
|---|---|
void |
clearState()
If this attribute needs to be cleared, the user needs to implement this
method to reset the state to initial state.
|
MonitoredAttributeInfo |
getAttributeInfo()
Gets the Monitored Attribute Info for the attribute.
|
String |
getName()
Gets the name of the Monitored Attribute.
|
Object |
getValue()
Gets the value of the Monitored Attribute.
|
void |
setValue(Object value)
Sets the value for the Monitored Attribute if isWritable() is false, the
method will throw ILLEGAL Operation exception.
|
MonitoredAttributeInfo getAttributeInfo()
void setValue(Object value)
value - should be any one of the Basic Java Type Objects which are
Long, Double, Float, String, Integer, Short, Character, Byte.
Object getValue()
String getName()
void clearState()
Copyright © 2020 ADDC Infotech GmbH. All rights reserved.