|
Drools Workbench - Guided Decision Table Editor - Client 6.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.workbench.screens.guided.dtable.client.wizard.pages.RowExpander
public class RowExpander
A utility class to expand Condition column definitions into rows. Action columns are not expanded, as the use-case is that a user-determined action should be specified for each combination of Conditons. Where a column is defined as having multiple values (Guvnor enum, Java enum or Decision Table Value List) the number of rows is the Cartesian Product of all combinations.
Nested Class Summary | |
---|---|
class |
RowExpander.RowIterator
An iterator that retrieves the expanded rows one at a time |
Constructor Summary | |
---|---|
RowExpander(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model,
org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle)
Constructor |
Method Summary | |
---|---|
List<org.drools.workbench.screens.guided.dtable.client.wizard.pages.RowExpander.ColumnValues> |
getColumns()
|
RowExpander.RowIterator |
iterator()
Rather than return a List of rows as the expanded form we expose an Iterator with which the expanded form can be retrieved. |
void |
setExpandColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn column,
boolean expandColumn)
Indicate whether the provided column should be expanded or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowExpander(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model, org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle)
model
- oracle
- Method Detail |
---|
public List<org.drools.workbench.screens.guided.dtable.client.wizard.pages.RowExpander.ColumnValues> getColumns()
public RowExpander.RowIterator iterator()
public void setExpandColumn(org.drools.workbench.models.guided.dtable.shared.model.BaseColumn column, boolean expandColumn)
column
- expandColumn
-
|
Drools Workbench - Guided Decision Table Editor - Client 6.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |