Package org.aksw.facete.v3.api
Class TreeQueryNodeImpl
java.lang.Object
org.aksw.facete.v3.api.TreeQueryNodeImpl
- All Implemented Interfaces:
TreeQueryNode,HasFacetPath
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TreeQueryNodeImplprotected Map<FacetStep,TreeQueryNode> protected TreeQueryImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchRoot()Rotate the tree such that this node becomes the rootgetOrCreateChild(FacetStep step) getStepToChild(TreeQueryNode child) getTree()Resolves a path, calls getOrCreateChild on nodes as neededtoString()
-
Field Details
-
treeModel
-
parent
-
stepToChild
-
-
Constructor Details
-
TreeQueryNodeImpl
-
-
Method Details
-
getOrCreateChild
- Specified by:
getOrCreateChildin interfaceTreeQueryNode
-
chRoot
public void chRoot()Rotate the tree such that this node becomes the root- Specified by:
chRootin interfaceTreeQueryNode
-
getTree
- Specified by:
getTreein interfaceTreeQueryNode
-
getParent
- Specified by:
getParentin interfaceTreeQueryNode
-
getStepToChild
-
reachingStep
- Specified by:
reachingStepin interfaceTreeQueryNode
-
getFacetPath
- Specified by:
getFacetPathin interfaceHasFacetPath
-
toString
-
resolve
Description copied from interface:TreeQueryNodeResolves a path, calls getOrCreateChild on nodes as needed- Specified by:
resolvein interfaceTreeQueryNode
-