public class RuleCompareTreeBuilder extends AbstractTreeBuilder
Constructor and Description |
---|
RuleCompareTreeBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCompoundTreeNode(org.kuali.rice.core.api.util.tree.Node<CompareTreeNode,String> newNode,
PropositionEditor firstElement,
PropositionEditor secondElement) |
protected void |
addOperatorTreeNode(org.kuali.rice.core.api.util.tree.Node<CompareTreeNode,String> newNode,
String firstElement,
String secondElement) |
protected void |
addTreeNode(org.kuali.rice.core.api.util.tree.Node<CompareTreeNode,String> currentNode,
PropositionEditor firstElement,
PropositionEditor secondElement) |
org.kuali.rice.core.api.util.tree.Tree<CompareTreeNode,String> |
buildTree(RuleEditor firstElement,
RuleEditor secondElement) |
protected PropositionEditor |
getChildForIndex(PropositionEditor parent,
int index) |
protected int |
getChildrenSize(PropositionEditor parent) |
protected String |
getLabelForChild(PropositionEditor proposition,
String label) |
protected String |
getLabelForOperator(PropositionEditor proposition) |
List<String> |
getListItems(PropositionEditor propositionEditor) |
String |
getNaturalLanguageUsageKey() |
protected PropositionEditor |
getRootProposition(RuleEditor rule) |
static org.kuali.rice.core.api.util.tree.Tree<CompareTreeNode,String> |
initCompareTree() |
addNodeType, buildNodeLabel, getDescription, getPropositionPrefix
public RuleCompareTreeBuilder()
public org.kuali.rice.core.api.util.tree.Tree<CompareTreeNode,String> buildTree(RuleEditor firstElement, RuleEditor secondElement)
protected PropositionEditor getRootProposition(RuleEditor rule)
public static org.kuali.rice.core.api.util.tree.Tree<CompareTreeNode,String> initCompareTree()
protected void addTreeNode(org.kuali.rice.core.api.util.tree.Node<CompareTreeNode,String> currentNode, PropositionEditor firstElement, PropositionEditor secondElement)
protected void addCompoundTreeNode(org.kuali.rice.core.api.util.tree.Node<CompareTreeNode,String> newNode, PropositionEditor firstElement, PropositionEditor secondElement)
protected String getLabelForChild(PropositionEditor proposition, String label)
protected String getLabelForOperator(PropositionEditor proposition)
protected int getChildrenSize(PropositionEditor parent)
protected PropositionEditor getChildForIndex(PropositionEditor parent, int index)
protected void addOperatorTreeNode(org.kuali.rice.core.api.util.tree.Node<CompareTreeNode,String> newNode, String firstElement, String secondElement)
public List<String> getListItems(PropositionEditor propositionEditor)
public String getNaturalLanguageUsageKey()
getNaturalLanguageUsageKey
in class AbstractTreeBuilder
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.