org.drools.workbench.models.guided.dtable.shared.model
Class BRLRuleModel
java.lang.Object
org.drools.workbench.models.datamodel.rule.RuleModel
org.drools.workbench.models.guided.dtable.shared.model.BRLRuleModel
- All Implemented Interfaces:
- HasImports, HasPackageName
public class BRLRuleModel
- extends RuleModel
A RuleModel that can provide details of bound Facts and Fields from an
associated Decision Table. This allows columns using BRL fragments to
integrate with Decision Table columns
| Methods inherited from class org.drools.workbench.models.datamodel.rule.RuleModel |
addAttribute, addLhsItem, addLhsItem, addLhsItem, addMetadata, addRhsItem, addRhsItem, addRhsItem, getFieldBinding, getFieldBinding, getImports, getMetaData, getPackageName, hasDSLSentences, isNegated, moveLhsItemDown, moveLhsItemUp, moveRhsItemDown, moveRhsItemUp, removeAttribute, removeLhsItem, removeMetadata, removeRhsItem, setImports, setNegated, setPackageName, updateMetadata |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BRLRuleModel
public BRLRuleModel()
BRLRuleModel
public BRLRuleModel(GuidedDecisionTable52 dtable)
getLHSBoundFacts
public List<String> getLHSBoundFacts()
- Overrides:
getLHSBoundFacts in class RuleModel
getLHSBoundFact
public FactPattern getLHSBoundFact(String var)
- Overrides:
getLHSBoundFact in class RuleModel
getLHSBoundField
public SingleFieldConstraint getLHSBoundField(String var)
- Overrides:
getLHSBoundField in class RuleModel
getLHSBindingType
public String getLHSBindingType(String var)
- Overrides:
getLHSBindingType in class RuleModel
getLHSParentFactPatternForBinding
public FactPattern getLHSParentFactPatternForBinding(String var)
- Overrides:
getLHSParentFactPatternForBinding in class RuleModel
getAllVariables
public List<String> getAllVariables()
- Overrides:
getAllVariables in class RuleModel
getAllLHSVariables
public List<String> getAllLHSVariables()
- Overrides:
getAllLHSVariables in class RuleModel
getAllRHSVariables
public List<String> getAllRHSVariables()
- Overrides:
getAllRHSVariables in class RuleModel
isBoundFactUsed
public boolean isBoundFactUsed(String binding)
- Overrides:
isBoundFactUsed in class RuleModel
getBoundVariablesInScope
public List<String> getBoundVariablesInScope(BaseSingleFieldConstraint con)
- Overrides:
getBoundVariablesInScope in class RuleModel
isVariableNameUsed
public boolean isVariableNameUsed(String s)
- Overrides:
isVariableNameUsed in class RuleModel
getRHSBoundFacts
public List<String> getRHSBoundFacts()
- Overrides:
getRHSBoundFacts in class RuleModel
getRHSBoundFact
public ActionInsertFact getRHSBoundFact(String var)
- Overrides:
getRHSBoundFact in class RuleModel
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.