public abstract class AConditionBuilder extends Object implements IDecisionTableColumnBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
build(IWritableGrid gridModel,
int numberOfRules,
int columnStartIndex,
int rowStartIndex)
Build the condition to the sheet with the given number of rules and start writing from the given column and row
indexes.
|
IDecisionTableColumn |
getCondition() |
protected abstract void |
writeCodeExpression(IWritableGrid gridModel,
int columnStartIndex,
int rowStartIndex) |
protected abstract void |
writeColumnType(IWritableGrid gridModel,
int columnStartIndex,
int rowStartIndex) |
protected abstract void |
writeParameterDeclaration(IWritableGrid gridModel,
int columnStartIndex,
int rowStartIndex) |
protected abstract void |
writeRuleValue(IWritableGrid gridModel,
int numberOfRules,
int columnStartIndex,
int rowStartIndex) |
protected abstract void |
writeTitle(IWritableGrid gridModel,
int columnStartIndex,
int rowStartIndex) |
public final int build(IWritableGrid gridModel, int numberOfRules, int columnStartIndex, int rowStartIndex)
IDecisionTableColumnBuilderbuild in interface IDecisionTableColumnBuildergridModel - the place for writing conditionsnumberOfRules - number of rules that will be writtencolumnStartIndex - the index of the column on the sheet to start writingrowStartIndex - the index of the row on the sheet to start writingpublic IDecisionTableColumn getCondition()
protected abstract void writeColumnType(IWritableGrid gridModel, int columnStartIndex, int rowStartIndex)
protected abstract void writeCodeExpression(IWritableGrid gridModel, int columnStartIndex, int rowStartIndex)
protected abstract void writeParameterDeclaration(IWritableGrid gridModel, int columnStartIndex, int rowStartIndex)
protected abstract void writeTitle(IWritableGrid gridModel, int columnStartIndex, int rowStartIndex)
protected abstract void writeRuleValue(IWritableGrid gridModel, int numberOfRules, int columnStartIndex, int rowStartIndex)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.