Class MutableTagValue
- java.lang.Object
-
- com.inductiveautomation.ignition.common.sqltags.BasicTagValue
-
- com.inductiveautomation.ignition.common.sqltags.MutableTagValue
-
- All Implemented Interfaces:
QualifiedValue
,TagValue
,java.io.Serializable
public class MutableTagValue extends BasicTagValue
The normal BasicTagValue will throw exceptions on the setters after initialization. This class can be used when the value must be mutable.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.common.sqltags.BasicTagValue
_quality, _timestamp, _value
-
Fields inherited from interface com.inductiveautomation.ignition.common.model.values.QualifiedValue
BAD, CONFIG_ERROR, EXPRESSION_EVAL_ERROR, INITIAL_VALUE, NOT_CONNECTED, STALE, TRANSFORM_ERROR, TYPE_CONVERSION, UNSUPPORTED
-
Fields inherited from interface com.inductiveautomation.ignition.common.sqltags.model.types.TagValue
DISABLED, NOT_FOUND, REFERENCE_NOT_FOUND, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description MutableTagValue(java.lang.Object value, DataQuality quality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDataQuality(DataQuality value)
This is required due to a bug in Java bean introspection, which has a problem with the different data types between getQuality here, and on the interface.void
setQuality(DataQuality code)
FOR SERIALIZATION ONLY.void
setTimestamp(java.util.Date timestamp)
void
setValue(java.lang.Object value)
FOR SERIALIZATION ONLY.-
Methods inherited from class com.inductiveautomation.ignition.common.sqltags.BasicTagValue
clone, equals, equals, fromQualifiedValue, getDataQuality, getQualifiedValue, getQuality, getTimestamp, getValue, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.model.values.QualifiedValue
derive, derive
-
-
-
-
Constructor Detail
-
MutableTagValue
public MutableTagValue(java.lang.Object value, DataQuality quality)
-
-
Method Detail
-
setValue
public void setValue(java.lang.Object value)
Description copied from class:BasicTagValue
FOR SERIALIZATION ONLY. Do not call directly. Will throw an IllegalStateException if the value has already been initialized.- Overrides:
setValue
in classBasicTagValue
-
setDataQuality
public void setDataQuality(DataQuality value)
Description copied from class:BasicTagValue
This is required due to a bug in Java bean introspection, which has a problem with the different data types between getQuality here, and on the interface. FOR SERIALIZATION ONLY. Do not call directly.- Overrides:
setDataQuality
in classBasicTagValue
-
setQuality
public void setQuality(DataQuality code)
Description copied from class:BasicTagValue
FOR SERIALIZATION ONLY. Do not call directly. Will throw an IllegalStateException if the value has already been initialized.- Overrides:
setQuality
in classBasicTagValue
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
- Overrides:
setTimestamp
in classBasicTagValue
-
-