public abstract class FunctionalRow extends Object implements IDecisionRow
| Modifier and Type | Field and Description |
|---|---|
protected CompositeMethod |
method |
protected IOpenClass |
ruleExecutionType |
protected IStorage<?>[] |
storage |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAction, isConditionprotected CompositeMethod method
protected IOpenClass ruleExecutionType
protected IStorage<?>[] storage
public String getName()
getName in interface IBaseDecisionRowpublic CompositeMethod getMethod()
getMethod in interface IBaseDecisionRowpublic IParameterDeclaration[] getParams()
getParams in interface IBaseDecisionRowprotected void setParams(IParameterDeclaration[] params)
public void clearParamValues()
clearParamValues in interface IDecisionRowpublic IOpenSourceCodeModule getSourceCodeModule()
getSourceCodeModule in interface IDecisionRowgetSourceCodeModule in interface IBaseDecisionRowpublic int getNumberOfParams()
getNumberOfParams in interface IBaseDecisionRowpublic ILogicalTable getDecisionTable()
| Rule | Rule | Rule1 | Rule2 | Rule3 | ||
| C1 | paramLocal1==paramInc | String paramLocal1 | Local Param 1 | value11 | value12 | value13 |
| C2 | paramLocal2==paramInc | String paramLocal2 | Local Param 2 | value21 | value22 | value23 |
getDecisionTable in interface IBaseDecisionRowTRUE if table is horizontal.public String[] getParamPresentation()
getParamPresentation in interface IDecisionRowpublic void prepare(IOpenClass methodType, IMethodSignature signature, OpenL openl, IBindingContext bindingContext, RuleRow ruleRow, IOpenClass ruleExecutionType, TableSyntaxNode tableSyntaxNode) throws Exception
prepare in interface IDecisionRowExceptionprotected IParameterDeclaration[] getParams(IOpenSourceCodeModule methodSource, IMethodSignature signature, IOpenClass declaringClass, IOpenClass methodType, OpenL openl, IBindingContext bindingContext) throws Exception
Exceptionpublic ILogicalTable getValueCell(int column)
getValueCell in interface IBaseDecisionRowpublic ILogicalTable getCodeTable()
public ILogicalTable getParamsTable()
public int nValues()
protected IOpenSourceCodeModule getExpressionSource(IBindingContext bindingContext, OpenL openl, IOpenClass declaringClass, IMethodSignature signature, IOpenClass methodType) throws Exception
Exceptionpublic Object getParamValue(int paramIndex, int ruleN)
getParamValue in interface IDecisionRowgetParamValue in interface IBaseDecisionRowpublic boolean isEmpty(int ruleN)
isEmpty in interface IBaseDecisionRowpublic boolean hasFormula(int ruleN)
hasFormula in interface IDecisionRowhasFormula in interface IBaseDecisionRowpublic int getNumberOfRules()
getNumberOfRules in interface IBaseDecisionRowpublic void loadValues(Object[] dest, int offset, int ruleN, Object target, Object[] tableParams, IRuntimeEnv env)
loadValues in interface IDecisionRowpublic boolean hasFormulas()
hasFormulas in interface IDecisionRowpublic Object getStorageValue(int paramNum, int ruleNum)
public boolean isEqual(int rule1,
int rule2)
isEqual in interface IDecisionRowCopyright © 2004–2019 OpenL Tablets. All rights reserved.