public interface IDecisionTableColumn
| Column type | C1 | C2 |
| Code expression | paramLocal1==paramInc | paramLocal2==paramInc |
| Parameter declaration | String paramLocal1 | String paramLocal2 |
| Title | Local Param 1 | Local Param 2 |
| Rule #1 | value11 | value21 |
| Rule #2 | value12 | value22 |
| Rule #3 | value13 | value23 |
| Modifier and Type | Method and Description |
|---|---|
String |
getCodeExpression()
Gets the string representation of the code expression cell(the next cell after column type definition see
getColumnType()). |
String |
getColumnType()
Gets the type of the column.
|
int |
getNumberOfLocalParameters()
Condition may has several local parameters.
|
String |
getParameterDeclaration()
Gets the string representation of the parameter declaration cell(the next cell after code expression cell
see
getCodeExpression()). |
String |
getRuleValue(int ruleIndex)
Gets the first value for given rule index.
|
String |
getRuleValue(int ruleIndex,
int localParameterIndex)
As condition may has several local parameters see
getNumberOfLocalParameters(), so the rule values is a
matrix, where first index is the rule index, the second - the index of local parameter. |
String |
getTitle()
Gets the string representation of the title(business name) cell(the next cell after the parameter declaration
cell see
getParameterDeclaration()). |
String getColumnType()
DecisionTableColumnHeadersString getCodeExpression()
getColumnType()).String getParameterDeclaration()
getCodeExpression()).String getTitle()
getParameterDeclaration()).String getRuleValue(int ruleIndex)
getNumberOfLocalParameters() is more than 1. Use
getRuleValue(int, int) to get all values.String getRuleValue(int ruleIndex, int localParameterIndex)
getNumberOfLocalParameters(), so the rule values is a
matrix, where first index is the rule index, the second - the index of local parameter. If the
getNumberOfLocalParameters() is more than 1, use this method to get all rule values.ruleIndex - index of the rulelocalParameterIndex - index of the local parameterint getNumberOfLocalParameters()
| C1 | |||||||
| paramLocal1 == paramIncome || paramLocal2 == paramIncome | |||||||
| String paramLocal1 | String paramLocal2 |
| Local Parameter number one | Local Parameter number two |
| value11 | value21 |
| value12 | value22 |
Copyright © 2004–2019 OpenL Tablets. All rights reserved.