java.lang.Object
com.inductiveautomation.ignition.common.sqltags.BasicTagValue
All Implemented Interfaces:
QualifiedValue, TagValue, Serializable
Direct Known Subclasses:
MutableTagValue

@Deprecated public class BasicTagValue extends Object implements TagValue, Serializable
Deprecated.
A legacy structure that has been replaced by QualifiedValue and BasicQualifiedValue.

Exists to support deserialization from old systems.

See Also:
  • Field Details

    • _value

      protected Object _value
      Deprecated.
    • _quality

      protected DataQuality _quality
      Deprecated.
    • _timestamp

      protected Date _timestamp
      Deprecated.
  • Constructor Details

    • BasicTagValue

      @Deprecated public BasicTagValue()
      Deprecated.
      For serialization. Do not call.
    • BasicTagValue

      public BasicTagValue(Object value)
      Deprecated.
      Creates a QualifiedValue with the current system timestamp and good quality
    • BasicTagValue

      public BasicTagValue(Object value, DataQuality quality)
      Deprecated.
    • BasicTagValue

      public BasicTagValue(Object value, DataQuality quality, Date timeStamp)
      Deprecated.
    • BasicTagValue

      public BasicTagValue(BasicTagValue copy)
      Deprecated.
  • Method Details

    • getValue

      public Object getValue()
      Deprecated.
      Specified by:
      getValue in interface QualifiedValue
    • setValue

      public void setValue(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 interface QualifiedValue
    • 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 Date getTimestamp()
      Deprecated.
      Specified by:
      getTimestamp in interface QualifiedValue
    • setTimestamp

      public void setTimestamp(Date timestamp)
      Deprecated.
    • equals

      public boolean equals(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 class Object
    • equals

      public boolean equals(Object val, boolean includeTimestamp)
      Deprecated.
      Specified by:
      equals in interface QualifiedValue
    • clone

      public BasicTagValue clone()
      Deprecated.
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getQualifiedValue

      public QualifiedValue getQualifiedValue()
      Deprecated.
    • fromQualifiedValue

      public static TagValue fromQualifiedValue(QualifiedValue value)
      Deprecated.