Class 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
    • 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 class BasicTagValue
      • 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 class BasicTagValue
      • 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 class BasicTagValue