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, setRuntimepublic java.lang.Object computeValue()
throws DataSourceException
The value depends (obviously) on the expression implementation.
DataSourceExceptionpublic 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
AbstractExpressionExpression 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 Expressionclone in class AbstractExpressionjava.lang.CloneNotSupportedException - this should never happen.