org.jfree.report.expressions.sys
public class GroupByExpression extends AbstractExpression
Constructor and Description |
---|
GroupByExpression() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones the expression, expression should be reinitialized after the
cloning.
|
java.lang.Object |
computeValue()
Return the current expression value.
|
java.lang.String[] |
getField() |
java.lang.String |
getField(int index) |
int |
getFieldCount() |
void |
setField(int index,
java.lang.String field) |
void |
setField(java.lang.String[] fields) |
getDataRow, getInstance, getName, getParentLocale, getReportConfiguration, getResourceBundleFactory, getRuntime, isDeepTraversing, isPrecompute, isPreserve, setDeepTraversing, setName, setPrecompute, setPreserve, setRuntime
public java.lang.Object computeValue() throws DataSourceException
The value depends (obviously) on the expression implementation.
DataSourceException
public void setField(int index, java.lang.String field)
public java.lang.String getField(int index)
public int getFieldCount()
public java.lang.String[] getField()
public void setField(java.lang.String[] fields)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
AbstractExpression
Expression maintain no state, cloning is done at the beginning of the report processing to disconnect the used expression from any other object space.
clone
in interface Expression
clone
in class AbstractExpression
java.lang.CloneNotSupportedException
- this should never happen.