public abstract class ColumnCriteria
extends java.lang.Object
Constructor and Description |
---|
ColumnCriteria(SmartReportNode node)
creates a column criteria for the given smart report node
|
ColumnCriteria(SmartReportNode node,
java.lang.String suffix)
creates a column criteria for the given smart report node
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
generateExtractor() |
SmartReportNode |
getNode() |
java.lang.String |
getSuffix() |
protected abstract void |
writeColumnValueGenerator(SourceGenerator sg,
ObjectReportNode objectReportNode,
java.lang.String prefix)
writes the column value generator in the smart report code
|
public ColumnCriteria(SmartReportNode node)
node
- smart report node the column criteria ispublic ColumnCriteria(SmartReportNode node, java.lang.String suffix)
node
- smart report node the column criteria issuffix
- suffix added to the column titlepublic SmartReportNode getNode()
public java.lang.String getSuffix()
public abstract java.lang.String generateExtractor()
protected abstract void writeColumnValueGenerator(SourceGenerator sg, ObjectReportNode objectReportNode, java.lang.String prefix) throws java.io.IOException
sg
- source generatorobjectReportNode
- main node of the reportprefix
- prefix of the nodejava.io.IOException
- if anything bad happens while generating the code