java.lang.Object
org.eclipse.milo.opcua.sdk.core.typetree.TypeTree<VariableType>
org.eclipse.milo.opcua.sdk.core.typetree.VariableTypeTree

public class VariableTypeTree extends TypeTree<VariableType>
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
  • Constructor Details

    • VariableTypeTree

      public VariableTypeTree(org.eclipse.milo.opcua.stack.core.util.Tree<VariableType> tree)
  • Method Details

    • getVariableType

      public @Nullable VariableType getVariableType(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId variableTypeId)
      Get the VariableType info for the VariableType identified by variableTypeId, if it exists.
      Parameters:
      variableTypeId - the NodeId of a VariableType Node.
      Returns:
      the VariableType info for the VariableType identified by variableTypeId, 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 underlying Tree node for the VariableType identified by variableTypeId.
      Overrides:
      getTreeNode in class TypeTree<VariableType>
      Parameters:
      variableTypeId - the NodeId of a VariableType Node.
      Returns:
      the underlying Tree node for the VariableType identified by variableTypeId.