Class BasicTagPropertyValue
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.sqltags.model.tagstore.TagPropertyValue
TagPropertyValue.HashKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Hint indicating that this is a core property that will require a tag reloadstatic final int
Hint that the value should be stored and loaded on startup -
Constructor Summary
ConstructorsConstructorDescriptionBasicTagPropertyValue
(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.BasicTagPropertyValue
(EntityId id, QualifiedValue value, DataTypeClass dType, int... hints) Constructor for storing the tag's "Value" property -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getHints()
getValue()
boolean
hasHint
(int hint) Indicates whether the value has the hint specified.boolean
boolean
protected void
setDataTypeClass
(DataTypeClass value) void
setHint
(int hint, boolean on) Sets or unsets the specified hint.protected void
setHints
(int value) protected void
setProperty
(TagProp value) toString()
Methods inherited from class com.inductiveautomation.ignition.gateway.sqltags.model.tagstore.TagStoreObject
getEntity, getId, setEntity, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.sqltags.model.tagstore.TagPropertyValue
getId
-
Field Details
-
HINT_PERSISTENT
public static final int HINT_PERSISTENTHint that the value should be stored and loaded on startup- See Also:
-
HINT_CONFIGPROP
public static final int HINT_CONFIGPROPHint indicating that this is a core property that will require a tag reload- See Also:
-
-
Constructor Details
-
BasicTagPropertyValue
Constructor for storing the tag's "Value" property -
BasicTagPropertyValue
-
BasicTagPropertyValue
public BasicTagPropertyValue() -
BasicTagPropertyValue
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
- Specified by:
getDataTypeClass
in interfaceTagPropertyValue
-
setDataTypeClass
-
getProperty
- Specified by:
getProperty
in interfaceTagPropertyValue
-
setProperty
-
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
- Specified by:
getValue
in interfaceTagPropertyValue
-
hasHintConfig
public boolean hasHintConfig()- Specified by:
hasHintConfig
in interfaceTagPropertyValue
-
hasHintPersistent
public boolean hasHintPersistent()- Specified by:
hasHintPersistent
in interfaceTagPropertyValue
-
toString
-