public class Condition extends FunctionalRow implements ICondition
method, ruleExecutionType, storageEMPTY| Constructor and Description |
|---|
Condition(String name,
int row,
ILogicalTable table,
DTScale.RowScale scale) |
| Modifier and Type | Method and Description |
|---|---|
DecisionValue |
calculateCondition(int ruleN,
Object target,
Object[] dtParams,
IRuntimeEnv env) |
IConditionEvaluator |
getConditionEvaluator() |
IMethodCaller |
getEvaluator() |
protected IOpenSourceCodeModule |
getExpressionSource(IBindingContext bindingContext,
OpenL openl,
IOpenClass declaringClass,
IMethodSignature signature,
IOpenClass methodType) |
int |
getNumberOfEmptyRules(int paramIndex) |
IOpenSourceCodeModule |
getUserDefinedExpressionSource() |
boolean |
isAction() |
boolean |
isCondition() |
boolean |
isDependentOnAnyParams() |
void |
removeDebugInformation() |
void |
setConditionEvaluator(IConditionEvaluator conditionEvaluator) |
void |
setEvaluator(IMethodCaller evaluator) |
clearParamValues, getCodeTable, getDecisionTable, getMethod, getName, getNumberOfParams, getNumberOfRules, getParamPresentation, getParams, getParams, getParamsTable, getParamValue, getSourceCodeModule, getStorageValue, getValueCell, hasFormula, hasFormulas, isEmpty, isEqual, loadValues, nValues, prepare, setParams, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValueCellclearParamValues, getParamPresentation, getParamValue, getSourceCodeModule, hasFormula, hasFormulas, isEqual, loadValues, preparegetDecisionTable, getMethod, getName, getNumberOfParams, getNumberOfRules, getParams, isEmptypublic Condition(String name, int row, ILogicalTable table, DTScale.RowScale scale)
public IConditionEvaluator getConditionEvaluator()
getConditionEvaluator in interface IConditiongetConditionEvaluator in interface IBaseConditionpublic void setConditionEvaluator(IConditionEvaluator conditionEvaluator)
setConditionEvaluator in interface IConditionpublic boolean isAction()
isAction in interface IDecisionRowpublic boolean isCondition()
isCondition in interface IDecisionRowpublic IMethodCaller getEvaluator()
getEvaluator in interface IConditiongetEvaluator in interface IBaseConditionpublic void setEvaluator(IMethodCaller evaluator)
setEvaluator in interface IConditionpublic DecisionValue calculateCondition(int ruleN, Object target, Object[] dtParams, IRuntimeEnv env)
calculateCondition in interface IConditionpublic boolean isDependentOnAnyParams()
isDependentOnAnyParams in interface IConditionpublic IOpenSourceCodeModule getUserDefinedExpressionSource()
getUserDefinedExpressionSource in interface IConditionprotected IOpenSourceCodeModule getExpressionSource(IBindingContext bindingContext, OpenL openl, IOpenClass declaringClass, IMethodSignature signature, IOpenClass methodType) throws Exception
getExpressionSource in class FunctionalRowExceptionpublic void removeDebugInformation()
removeDebugInformation in interface IBaseConditionpublic int getNumberOfEmptyRules(int paramIndex)
getNumberOfEmptyRules in interface IConditionCopyright © 2004–2019 OpenL Tablets. All rights reserved.