Class VariableTypeTree
java.lang.Object
org.eclipse.milo.opcua.sdk.core.typetree.TypeTree<VariableType>
org.eclipse.milo.opcua.sdk.core.typetree.VariableTypeTree
A tree-based representation of a VariableType hierarchy.
Allows for convenient operations such as:
- checking if a VariableType is a subtype of another VariableType
- retrieving VariableType information by NodeId
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.milo.opcua.sdk.core.typetree.TypeTree
TypeTree.Type -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionVariableTypeTree(org.eclipse.milo.opcua.stack.core.util.Tree<VariableType> tree) -
Method Summary
Modifier and TypeMethodDescription@Nullable org.eclipse.milo.opcua.stack.core.util.Tree<VariableType>getTreeNode(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId variableTypeId) Get the underlyingTreenode for the VariableType identified byvariableTypeId.@Nullable VariableTypegetVariableType(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId variableTypeId) Get theVariableTypeinfo for the VariableType identified byvariableTypeId, if it exists.Methods inherited from class org.eclipse.milo.opcua.sdk.core.typetree.TypeTree
containsType, getRoot, getType, isSubtypeOf, isSubtypeOf, isSubtypeOf, isSubtypeOf
-
Constructor Details
-
VariableTypeTree
-
-
Method Details
-
getVariableType
public @Nullable VariableType getVariableType(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId variableTypeId) Get theVariableTypeinfo for the VariableType identified byvariableTypeId, if it exists.- Parameters:
variableTypeId- theNodeIdof a VariableType Node.- Returns:
- the
VariableTypeinfo for the VariableType identified byvariableTypeId, if it exists.
-
getTreeNode
public @Nullable org.eclipse.milo.opcua.stack.core.util.Tree<VariableType> getTreeNode(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId variableTypeId) Get the underlyingTreenode for the VariableType identified byvariableTypeId.- Overrides:
getTreeNodein classTypeTree<VariableType>- Parameters:
variableTypeId- theNodeIdof a VariableType Node.- Returns:
- the underlying
Treenode for the VariableType identified byvariableTypeId.
-