Class MutableTagValue
java.lang.Object
com.inductiveautomation.ignition.common.sqltags.BasicTagValue
com.inductiveautomation.ignition.common.sqltags.MutableTagValue
- All Implemented Interfaces:
QualifiedValue
,TagValue
,Serializable
The normal BasicTagValue will throw exceptions on the setters after initialization. This class can be used when the
value must be mutable.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
(Date timestamp) void
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, derive
-
Constructor Details
-
MutableTagValue
-
-
Method Details
-
setValue
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
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
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
- Overrides:
setTimestamp
in classBasicTagValue
-