Package org.openl.rules.dt.element
Interface ICondition
-
- All Superinterfaces:
IBaseCondition,IBaseDecisionRow,IDecisionRow
- All Known Implementing Classes:
Condition
public interface ICondition extends IBaseCondition, IDecisionRow
-
-
Field Summary
-
Fields inherited from interface org.openl.rules.dt.IBaseCondition
EMPTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecisionValuecalculateCondition(int col, Object target, Object[] dtParams, IRuntimeEnv env)intgetNumberOfEmptyRules(int paramIndex)IOpenSourceCodeModulegetUserDefinedExpressionSource()booleanisDependentOnInputParams()booleanisDependentOnOtherColumnsParams()booleanisRuleIdOrRuleNameUsed()voidsetComparisonCast(IOpenCast comparisonCast)voidsetConditionEvaluator(IConditionEvaluator iConditionEvaluator)voidsetConditionParametersUsed(boolean conditionParametersUsed)Identifier to detect whatever condition parameter is used in expressionvoidsetDependentOnOtherColumnsParams(boolean dependentOnOtherColumnsParams)voidsetEvaluator(IMethodCaller iMethodCaller)voidsetRuleIdOrRuleNameUsed(boolean ruleIdOrRuleNameUsed)-
Methods inherited from interface org.openl.rules.dt.IBaseCondition
getConditionEvaluator, getEvaluator
-
Methods inherited from interface org.openl.rules.dt.IBaseDecisionRow
getDecisionTable, getMethod, getName, getNumberOfParams, getNumberOfRules, getParams, getValueCell, isEmpty, removeDebugInformation
-
Methods inherited from interface org.openl.rules.dt.element.IDecisionRow
clearParamValues, getInfoTable, getParamPresentation, getParamValue, getSourceCodeModule, hasDeclaredParams, hasFormula, hasFormulas, isAction, isCondition, isEqual, loadValue, loadValues, prepare, prepareParams
-
-
-
-
Method Detail
-
calculateCondition
DecisionValue calculateCondition(int col, Object target, Object[] dtParams, IRuntimeEnv env)
-
setConditionEvaluator
void setConditionEvaluator(IConditionEvaluator iConditionEvaluator)
-
setEvaluator
void setEvaluator(IMethodCaller iMethodCaller)
-
isDependentOnInputParams
boolean isDependentOnInputParams()
-
getNumberOfEmptyRules
int getNumberOfEmptyRules(int paramIndex)
-
getUserDefinedExpressionSource
IOpenSourceCodeModule getUserDefinedExpressionSource()
-
setConditionParametersUsed
void setConditionParametersUsed(boolean conditionParametersUsed)
Identifier to detect whatever condition parameter is used in expression- Parameters:
conditionParametersUsed-truewhen it's used, otherwise false
-
isRuleIdOrRuleNameUsed
boolean isRuleIdOrRuleNameUsed()
-
setRuleIdOrRuleNameUsed
void setRuleIdOrRuleNameUsed(boolean ruleIdOrRuleNameUsed)
-
isDependentOnOtherColumnsParams
boolean isDependentOnOtherColumnsParams()
-
setDependentOnOtherColumnsParams
void setDependentOnOtherColumnsParams(boolean dependentOnOtherColumnsParams)
-
setComparisonCast
void setComparisonCast(IOpenCast comparisonCast)
-
-