Class ArrayParameterColumn
- java.lang.Object
-
- org.openl.rules.validation.properties.dimentional.ADispatcherTableColumn
-
- org.openl.rules.validation.properties.dimentional.ArrayParameterColumn
-
- All Implemented Interfaces:
IDecisionTableColumn
public class ArrayParameterColumn extends ADispatcherTableColumn
Column that is used in the dispatching table, built by dimension properties of the group of tables. Handles the column with array dimension property.- Author:
- DLiauchuk
-
-
Field Summary
-
Fields inherited from class org.openl.rules.validation.properties.dimentional.ADispatcherTableColumn
LOCAL_PARAM_SUFFIX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCodeExpression()Gets the string representation of the code expression cell(the next cell after column type definition seeIDecisionTableColumn.getColumnType()).StringgetParameterDeclaration()Gets the string representation of the parameter declaration cell(the next cell after code expression cell seeIDecisionTableColumn.getCodeExpression()).StringgetRuleValue(int ruleIndex, int localParameterIndex)As condition may has several local parameters seeIDecisionTableColumn.getNumberOfLocalParameters(), so the rule values is a matrix, where first index is the rule index, the second - the index of local parameter.StringgetTitle()Gets the string representation of the title(business name) cell(the next cell after the parameter declaration cell seeIDecisionTableColumn.getParameterDeclaration()).-
Methods inherited from class org.openl.rules.validation.properties.dimentional.ADispatcherTableColumn
getColumnType, getNumberOfLocalParameters, getProperty, getRules, getRuleValue
-
-
-
-
Method Detail
-
getCodeExpression
public String getCodeExpression()
Description copied from interface:IDecisionTableColumnGets the string representation of the code expression cell(the next cell after column type definition seeIDecisionTableColumn.getColumnType()).- Returns:
- string representation of the code expression cell.
-
getTitle
public String getTitle()
Description copied from interface:IDecisionTableColumnGets the string representation of the title(business name) cell(the next cell after the parameter declaration cell seeIDecisionTableColumn.getParameterDeclaration()).- Returns:
- the string representation of the title(business name) cell
-
getParameterDeclaration
public String getParameterDeclaration()
Description copied from interface:IDecisionTableColumnGets the string representation of the parameter declaration cell(the next cell after code expression cell seeIDecisionTableColumn.getCodeExpression()).- Returns:
- the string representation of the parameter declaration cell
-
getRuleValue
public String getRuleValue(int ruleIndex, int localParameterIndex)
Description copied from interface:IDecisionTableColumnAs condition may has several local parameters seeIDecisionTableColumn.getNumberOfLocalParameters(), so the rule values is a matrix, where first index is the rule index, the second - the index of local parameter. If theIDecisionTableColumn.getNumberOfLocalParameters()is more than 1, use this method to get all rule values.- Parameters:
ruleIndex- index of the rulelocalParameterIndex- index of the local parameter- Returns:
- the value for the appropriate rule and local parameter
-
-