public class BRLRuleModel extends RuleModel
attributes, lhs, metadataList, modelVersion, name, parentName, rhs
Constructor and Description |
---|
BRLRuleModel() |
BRLRuleModel(GuidedDecisionTable52 dtable) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllLHSVariables() |
List<String> |
getAllRHSVariables() |
List<String> |
getAllVariables() |
List<String> |
getBoundVariablesInScope(BaseSingleFieldConstraint con) |
String |
getLHSBindingType(String var) |
FactPattern |
getLHSBoundFact(String var) |
List<String> |
getLHSBoundFacts() |
SingleFieldConstraint |
getLHSBoundField(String var) |
FactPattern |
getLHSParentFactPatternForBinding(String var) |
ActionInsertFact |
getRHSBoundFact(String var) |
List<String> |
getRHSBoundFacts() |
boolean |
isBoundFactUsed(String binding) |
boolean |
isVariableNameUsed(String s) |
addAttribute, addLhsItem, addLhsItem, addLhsItem, addMetadata, addRhsItem, addRhsItem, addRhsItem, equals, getFieldBinding, getFieldBinding, getImports, getMetaData, getPackageName, hasDSLSentences, hashCode, isNegated, moveLhsItemDown, moveLhsItemUp, moveRhsItemDown, moveRhsItemUp, removeAttribute, removeLhsItem, removeMetadata, removeRhsItem, setImports, setNegated, setPackageName, updateMetadata
public BRLRuleModel()
public BRLRuleModel(GuidedDecisionTable52 dtable)
public List<String> getLHSBoundFacts()
getLHSBoundFacts
in class RuleModel
public FactPattern getLHSBoundFact(String var)
getLHSBoundFact
in class RuleModel
public SingleFieldConstraint getLHSBoundField(String var)
getLHSBoundField
in class RuleModel
public String getLHSBindingType(String var)
getLHSBindingType
in class RuleModel
public FactPattern getLHSParentFactPatternForBinding(String var)
getLHSParentFactPatternForBinding
in class RuleModel
public List<String> getAllVariables()
getAllVariables
in class RuleModel
public List<String> getAllLHSVariables()
getAllLHSVariables
in class RuleModel
public List<String> getAllRHSVariables()
getAllRHSVariables
in class RuleModel
public boolean isBoundFactUsed(String binding)
isBoundFactUsed
in class RuleModel
public List<String> getBoundVariablesInScope(BaseSingleFieldConstraint con)
getBoundVariablesInScope
in class RuleModel
public boolean isVariableNameUsed(String s)
isVariableNameUsed
in class RuleModel
public List<String> getRHSBoundFacts()
getRHSBoundFacts
in class RuleModel
public ActionInsertFact getRHSBoundFact(String var)
getRHSBoundFact
in class RuleModel
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.