public class BinaryChildrenRelation extends Object implements ChildrenRelation
| Modifier | Constructor and Description |
|---|---|
protected |
BinaryChildrenRelation(TreeNode parent) |
protected BinaryChildrenRelation(TreeNode parent)
public TreeNode getParent()
getParent in interface ChildrenRelationpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<TreeNode> getChildren()
getChildren in interface ChildrenRelationpublic Stream<TreeNode> getChildrenStream()
getChildrenStream in interface ChildrenRelationpublic boolean contains(TreeNode node)
contains in interface ChildrenRelationpublic void addChild(TreeNode childNode, Optional<BinaryOrderedOperatorNode.ArgumentPosition> optionalPosition, boolean canReplace) throws IllegalTreeUpdateException
addChild in interface ChildrenRelationIllegalTreeUpdateExceptionpublic void replaceChild(TreeNode formerChild, TreeNode newChild)
replaceChild in interface ChildrenRelationpublic void removeChild(TreeNode childNode)
removeChild in interface ChildrenRelationpublic it.unibz.inf.ontop.com.google.common.collect.ImmutableList<QueryNode> getChildQueryNodes()
getChildQueryNodes in interface ChildrenRelationpublic Stream<QueryNode> getChildQueryNodeStream()
getChildQueryNodeStream in interface ChildrenRelationpublic Optional<BinaryOrderedOperatorNode.ArgumentPosition> getOptionalPosition(TreeNode childNode)
getOptionalPosition in interface ChildrenRelationpublic Optional<TreeNode> getChild(BinaryOrderedOperatorNode.ArgumentPosition position)
getChild in interface ChildrenRelationpublic ChildrenRelation clone(Map<QueryNode,TreeNode> newNodeIndex)
clone in interface ChildrenRelationpublic ChildrenRelation convertToBinaryChildrenRelation()
ChildrenRelationconvertToBinaryChildrenRelation in interface ChildrenRelationpublic ChildrenRelation convertToStandardChildrenRelation()
ChildrenRelationconvertToStandardChildrenRelation in interface ChildrenRelationCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.