public class RhsBuilder extends Object implements SourceBuilder
| Constructor and Description |
|---|
RhsBuilder(ActionType.Code code,
int row,
int column,
String boundVariable) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCellValue(int row,
int column,
String value) |
void |
addTemplate(int row,
int column,
String content) |
void |
clearValues() |
ActionType.Code |
getActionTypeCode() |
String |
getResult() |
boolean |
hasValues() |
public RhsBuilder(ActionType.Code code, int row, int column, String boundVariable)
boundVariable - Pass in a bound variable if there is one.
Any cells below then will be called as methods on it.
Leaving it blank will make it work in "classic" mode.public ActionType.Code getActionTypeCode()
getActionTypeCode in interface SourceBuilderpublic void addTemplate(int row,
int column,
String content)
addTemplate in interface SourceBuilderpublic void addCellValue(int row,
int column,
String value)
addCellValue in interface SourceBuilderpublic void clearValues()
clearValues in interface SourceBuilderpublic String getResult()
getResult in interface SourceBuilderpublic boolean hasValues()
hasValues in interface SourceBuilderCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.