java.lang.Object
com.inductiveautomation.ignition.gateway.sqltags.model.tagstore.TagStoreObject<QualifiedValue>
com.inductiveautomation.ignition.gateway.sqltags.model.tagstore.BasicTagPropertyValue
All Implemented Interfaces:
TagPropertyValue, Serializable

public class BasicTagPropertyValue extends TagStoreObject<QualifiedValue> implements Serializable, TagPropertyValue
See Also:
  • Field Details

    • HINT_PERSISTENT

      public static final int HINT_PERSISTENT
      Hint that the value should be stored and loaded on startup
      See Also:
    • HINT_CONFIGPROP

      public static final int HINT_CONFIGPROP
      Hint indicating that this is a core property that will require a tag reload
      See Also:
  • Constructor Details

    • BasicTagPropertyValue

      public BasicTagPropertyValue(EntityId id, QualifiedValue value, DataTypeClass dType, int... hints)
      Constructor for storing the tag's "Value" property
    • BasicTagPropertyValue

      public BasicTagPropertyValue(TagPropertyValue copy)
    • BasicTagPropertyValue

      public BasicTagPropertyValue()
    • BasicTagPropertyValue

      public BasicTagPropertyValue(EntityId id, QualifiedValue value, TagProp property)
      Constructor for storing an arbitrary property - DO NOT USE for Tag's Value! Use other constructor instead, in order to set the correct data type.
  • Method Details

    • getDataTypeClass

      public DataTypeClass getDataTypeClass()
      Specified by:
      getDataTypeClass in interface TagPropertyValue
    • setDataTypeClass

      protected void setDataTypeClass(DataTypeClass value)
    • getProperty

      public TagProp getProperty()
      Specified by:
      getProperty in interface TagPropertyValue
    • setProperty

      protected void setProperty(TagProp value)
    • getHints

      protected int getHints()
    • setHints

      protected void setHints(int value)
    • hasHint

      public boolean hasHint(int hint)
      Indicates whether the value has the hint specified. Hint values are static members of the TagStoreValue class.
    • setHint

      public void setHint(int hint, boolean on)
      Sets or unsets the specified hint. See hasHint for more information on hints.
    • getValue

      public QualifiedValue getValue()
      Specified by:
      getValue in interface TagPropertyValue
    • hasHintConfig

      public boolean hasHintConfig()
      Specified by:
      hasHintConfig in interface TagPropertyValue
    • hasHintPersistent

      public boolean hasHintPersistent()
      Specified by:
      hasHintPersistent in interface TagPropertyValue
    • toString

      public String toString()
      Overrides:
      toString in class Object