org.jfree.report.function
Class ColumnAggregationExpression
java.lang.Object
|
+--org.jfree.report.function.AbstractExpression
|
+--org.jfree.report.function.ColumnAggregationExpression
- Direct Known Subclasses:
- AndExpression, ColumnAverageExpression, ColumnDifferenceExpression, ColumnDivisionExpression, ColumnMaximumExpression, ColumnMinimumExpression, ColumnMultiplyExpression, ColumnSumExpression, OrExpression
- public abstract class ColumnAggregationExpression
- extends AbstractExpression
Creation-Date: 04.01.2006, 17:23:01
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
clone()
Clones the expression. |
java.lang.String[] |
getField()
|
java.lang.String |
getField(int index)
|
int |
getFieldCount()
|
protected java.lang.Object[] |
getFieldValues()
collects the values of all fields defined in the fieldList. |
void |
setField(int index,
java.lang.String field)
|
void |
setField(java.lang.String[] fields)
|
| Methods inherited from class org.jfree.report.function.AbstractExpression |
getDataRow,
getDependencyLevel,
getInstance,
getName,
getReportConfiguration,
getResourceBundleFactory,
getRuntime,
isActive,
setActive,
setDependencyLevel,
setName,
setRuntime |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ColumnAggregationExpression
protected ColumnAggregationExpression()
getFieldValues
protected java.lang.Object[] getFieldValues()
- collects the values of all fields defined in the fieldList.
- Returns:
- an Objectarray containing all defined values from the datarow
setField
public void setField(int index,
java.lang.String field)
getField
public java.lang.String getField(int index)
getFieldCount
public int getFieldCount()
getField
public java.lang.String[] getField()
setField
public void setField(java.lang.String[] fields)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Description copied from class: AbstractExpression
- Clones the expression. The expression should be reinitialized after the
cloning.
Expressions maintain no state, cloning is done at the
beginning of the report processing to disconnect the expression from any
other object space.
- Overrides:
- clone in class AbstractExpression
- Tags copied from class: AbstractExpression
- Returns:
- a clone of this expression.
- Throws:
- java.lang.CloneNotSupportedException - this should never happen.