Class BasicTagValue
- java.lang.Object
-
- com.inductiveautomation.ignition.common.sqltags.BasicTagValue
-
- All Implemented Interfaces:
QualifiedValue
,TagValue
,java.io.Serializable
- Direct Known Subclasses:
MutableTagValue
@Deprecated public class BasicTagValue extends java.lang.Object implements TagValue, java.io.Serializable
Deprecated.A legacy structure that has been replaced by QualifiedValue and BasicQualifiedValue.Exists to support deserialization from old systems.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DataQuality
_quality
Deprecated.protected java.util.Date
_timestamp
Deprecated.protected java.lang.Object
_value
Deprecated.-
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 BasicTagValue()
Deprecated.BasicTagValue(BasicTagValue copy)
Deprecated.BasicTagValue(java.lang.Object value)
Deprecated.Creates a QualifiedValue with the current system timestamp and good qualityBasicTagValue(java.lang.Object value, DataQuality quality)
Deprecated.BasicTagValue(java.lang.Object value, DataQuality quality, java.util.Date timeStamp)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BasicTagValue
clone()
Deprecated.boolean
equals(java.lang.Object arg0)
Deprecated.Tests that the objects values are equal.boolean
equals(java.lang.Object val, boolean includeTimestamp)
Deprecated.static TagValue
fromQualifiedValue(QualifiedValue value)
Deprecated.DataQuality
getDataQuality()
Deprecated.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.QualifiedValue
getQualifiedValue()
Deprecated.QualityCode
getQuality()
Deprecated.java.util.Date
getTimestamp()
Deprecated.java.lang.Object
getValue()
Deprecated.void
setDataQuality(DataQuality value)
Deprecated.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)
Deprecated.FOR SERIALIZATION ONLY.void
setTimestamp(java.util.Date timestamp)
Deprecated.void
setValue(java.lang.Object value)
Deprecated.FOR SERIALIZATION ONLY.java.lang.String
toString()
Deprecated.-
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
-
-
-
-
Field Detail
-
_value
protected java.lang.Object _value
Deprecated.
-
_quality
protected DataQuality _quality
Deprecated.
-
_timestamp
protected java.util.Date _timestamp
Deprecated.
-
-
Constructor Detail
-
BasicTagValue
@Deprecated public BasicTagValue()
Deprecated.For serialization. Do not call.
-
BasicTagValue
public BasicTagValue(java.lang.Object value)
Deprecated.Creates a QualifiedValue with the current system timestamp and good quality
-
BasicTagValue
public BasicTagValue(java.lang.Object value, DataQuality quality)
Deprecated.
-
BasicTagValue
public BasicTagValue(java.lang.Object value, DataQuality quality, java.util.Date timeStamp)
Deprecated.
-
BasicTagValue
public BasicTagValue(BasicTagValue copy)
Deprecated.
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Deprecated.- Specified by:
getValue
in interfaceQualifiedValue
-
setValue
public void setValue(java.lang.Object value)
Deprecated.FOR SERIALIZATION ONLY. Do not call directly. Will throw an IllegalStateException if the value has already been initialized.
-
getQuality
public QualityCode getQuality()
Deprecated.- Specified by:
getQuality
in interfaceQualifiedValue
-
setQuality
public void setQuality(DataQuality code)
Deprecated.FOR SERIALIZATION ONLY. Do not call directly. Will throw an IllegalStateException if the value has already been initialized.
-
getDataQuality
public DataQuality getDataQuality()
Deprecated.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.
-
setDataQuality
public void setDataQuality(DataQuality value)
Deprecated.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.
-
getTimestamp
public java.util.Date getTimestamp()
Deprecated.- Specified by:
getTimestamp
in interfaceQualifiedValue
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
Deprecated.
-
equals
public boolean equals(java.lang.Object arg0)
Deprecated.Tests that the objects values are equal. DOES NOT TEST timestamp, because in most cases you want to leave it out. If you want to test it, call equals(val,true).- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object val, boolean includeTimestamp)
Deprecated.- Specified by:
equals
in interfaceQualifiedValue
-
clone
public BasicTagValue clone()
Deprecated.- Overrides:
clone
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
getQualifiedValue
public QualifiedValue getQualifiedValue()
Deprecated.
-
fromQualifiedValue
public static TagValue fromQualifiedValue(QualifiedValue value)
Deprecated.
-
-