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 Summary
Modifier and TypeMethodDescriptiongetName()@Nullable TreeNode@Nullable String<R> RvisitChildren(NodeVisitor<TreeNode, R> visitor) Visits all children recursively in depth-first order (root-children).<R> RvisitChildren(Predicate<TreeNode> predicate, NodeVisitor<TreeNode, R> visitor) Visits all children recursively in depth-first order (root-children) that apply to the specified predicate.<R> RvisitParents(NodeVisitor<TreeNode, R> visitor) Visits all parents from this node up to the root.<R> RvisitParents(Predicate<TreeNode> predicate, NodeVisitor<TreeNode, R> visitor) Visits all parents from this node up to the root that apply to the specified predicate.
-
Method Details
-
getShortDescription
-
getName
String getName() -
getParentNode
-
getChildren
-
visitParents
Visits all parents from this node up to the root. -
visitParents
Visits all parents from this node up to the root that apply to the specified predicate. -
visitChildren
Visits all children recursively in depth-first order (root-children). -
visitChildren
Visits all children recursively in depth-first order (root-children) that apply to the specified predicate.
-