Package org.openl.rules.dt.element
Interface IDecisionRow
-
- All Superinterfaces:
IBaseDecisionRow
- All Known Subinterfaces:
IAction,ICondition
- All Known Implementing Classes:
Action,Condition,FunctionalRow
public interface IDecisionRow extends IBaseDecisionRow
- Author:
- snshor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearParamValues()ILogicalTablegetInfoTable()String[]getParamPresentation()ObjectgetParamValue(int paramIndex, int ruleN)IOpenSourceCodeModulegetSourceCodeModule()booleanhasDeclaredParams()booleanhasFormula(int ruleN)booleanhasFormulas()booleanisAction()booleanisCondition()booleanisEqual(int rule1, int rule2)ObjectloadValue(int row, int ruleN, Object target, Object[] tableParams, IRuntimeEnv env)voidloadValues(Object[] dest, int offset, int ruleN, Object target, Object[] tableParams, IRuntimeEnv env)voidprepare(DecisionTable decisionTable, IOpenClass methodType, IMethodSignature signature, OpenL openl, IBindingContext bindingContext, RuleRow ruleRow, IOpenClass ruleExecutionType, TableSyntaxNode tableSyntaxNode)voidprepareParams(OpenL openl, IBindingContext bindingContext)-
Methods inherited from interface org.openl.rules.dt.IBaseDecisionRow
getDecisionTable, getMethod, getName, getNumberOfParams, getNumberOfRules, getParams, getValueCell, isEmpty, removeDebugInformation
-
-
-
-
Method Detail
-
getSourceCodeModule
IOpenSourceCodeModule getSourceCodeModule()
- Specified by:
getSourceCodeModulein interfaceIBaseDecisionRow
-
getParamPresentation
String[] getParamPresentation()
-
getParamValue
Object getParamValue(int paramIndex, int ruleN)
- Specified by:
getParamValuein interfaceIBaseDecisionRow
-
hasFormula
boolean hasFormula(int ruleN)
- Specified by:
hasFormulain interfaceIBaseDecisionRow
-
hasFormulas
boolean hasFormulas()
-
clearParamValues
void clearParamValues()
-
isAction
boolean isAction()
-
isCondition
boolean isCondition()
-
getInfoTable
ILogicalTable getInfoTable()
-
prepareParams
void prepareParams(OpenL openl, IBindingContext bindingContext)
-
prepare
void prepare(DecisionTable decisionTable, IOpenClass methodType, IMethodSignature signature, OpenL openl, IBindingContext bindingContext, RuleRow ruleRow, IOpenClass ruleExecutionType, TableSyntaxNode tableSyntaxNode) throws Exception
- Throws:
Exception
-
loadValues
void loadValues(Object[] dest, int offset, int ruleN, Object target, Object[] tableParams, IRuntimeEnv env)
-
loadValue
Object loadValue(int row, int ruleN, Object target, Object[] tableParams, IRuntimeEnv env)
-
isEqual
boolean isEqual(int rule1, int rule2)
-
hasDeclaredParams
boolean hasDeclaredParams()
-
-