Class 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 Detail

      • _value

        protected java.lang.Object _value
        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 interface QualifiedValue
      • 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.
      • 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.
      • 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 class java.lang.Object
      • equals

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

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

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

        public QualifiedValue getQualifiedValue()
        Deprecated.