Class TagTree
- java.lang.Object
-
- com.inductiveautomation.ignition.common.PathTree<TagPath,T>
-
- com.inductiveautomation.ignition.common.sqltags.model.TagPathTree<Tag>
-
- com.inductiveautomation.ignition.common.sqltags.model.TagTree
-
- All Implemented Interfaces:
TagCollection
,java.io.Serializable
public class TagTree extends TagPathTree<Tag> implements TagCollection
Represents a tree of Tags, accessible by their path.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.sqltags.model.TagPathTree
TagPathTree.SimpleEntry
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.PathTree
PathTree.TreeNode
-
-
Constructor Summary
Constructors Constructor Description TagTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Tag
createFolderLeafValue(TagPath path)
When branch nodes are created implicitly, this function is used to provide a leaf value.java.util.Collection<TagPath>
getChildrenPaths(TagPath path)
Tag
getTag(TagPath path)
Returns the tag located at a specific path.void
insertTag(TagPath path, Tag value)
-
Methods inherited from class com.inductiveautomation.ignition.common.sqltags.model.TagPathTree
entrySet, enumerateEntries, getRootValue, insertValue, instantiateNode
-
Methods inherited from class com.inductiveautomation.ignition.common.PathTree
browse, clear, computeIfAbsent, findNode, findNode, get, getBranches, getBranches, getChildren, getRoot, getValuesOfPath, isCaseSensitive, put, remove, removeIfEmpty, setCaseSensitive, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.TagCollection
browse
-
-
-
-
Method Detail
-
getTag
public Tag getTag(TagPath path)
Description copied from interface:TagCollection
Returns the tag located at a specific path. If the path doesn't exist, null will be returned.- Specified by:
getTag
in interfaceTagCollection
-
createFolderLeafValue
protected Tag createFolderLeafValue(TagPath path)
Description copied from class:TagPathTree
When branch nodes are created implicitly, this function is used to provide a leaf value. The default implementation returns null.- Overrides:
createFolderLeafValue
in classTagPathTree<Tag>
-
-