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> R
visitChildren
(NodeVisitor<TreeNode, R> visitor) Visits all children recursively in depth-first order (root-children).<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.<R> R
visitParents
(NodeVisitor<TreeNode, R> visitor) Visits all parents from this node up to the root.<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.
-
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.
-