Class BasicTagPropertyValue

    • Field Detail

      • HINT_PERSISTENT

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

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

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

      • setDataTypeClass

        protected void setDataTypeClass​(DataTypeClass value)
      • 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.
      • toString

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