Interface TreeNode

All Known Subinterfaces:
ColumnNode, ModelElementNode, ModelElementNode.Entity, ModelElementNode.Relation, ModuleNode, RootNode
All Known Implementing Classes:
AbstractTreeNode, ColumnNodeImpl, EntityNodeImpl, ModelElementNodeImpl, ModuleNodeImpl, RelationNodeImpl, RootNodeImpl

public interface TreeNode
  • Method Details

    • getShortDescription

      @Nullable @Nullable String getShortDescription()
    • getName

      String getName()
    • getParentNode

      @Nullable @Nullable TreeNode getParentNode()
    • getChildren

      List<? extends TreeNode> getChildren()
    • visitParents

      <R> R visitParents(NodeVisitor<TreeNode,R> visitor)
      Visits all parents from this node up to the root.
    • visitParents

      <R> R visitParents(Predicate<TreeNode> predicate, NodeVisitor<TreeNode,R> visitor)
      Visits all parents from this node up to the root that apply to the specified predicate.
    • visitChildren

      <R> R visitChildren(NodeVisitor<TreeNode,R> visitor)
      Visits all children recursively in depth-first order (root-children).
    • visitChildren

      <R> R visitChildren(Predicate<TreeNode> predicate, NodeVisitor<TreeNode,R> visitor)
      Visits all children recursively in depth-first order (root-children) that apply to the specified predicate.