|
|||||||||
| Home >> All >> jbreport >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jbreport.data
Class AggregatableSum

java.lang.Objectjbreport.data.AggregatableSum
- All Implemented Interfaces:
- Aggregate.Aggregatable
- class AggregatableSum
- extends java.lang.Object
- implements Aggregate.Aggregatable
- extends java.lang.Object
The summing Aggregatable class.
| Field Summary | |
private java.math.BigDecimal |
bigDecimalSum
The sum of the BigDecimal values |
private int |
intSum
The sum of the int values |
| Constructor Summary | |
AggregatableSum()
|
|
| Method Summary | |
java.math.BigDecimal |
getBigDecimal()
Returns the current BigDecimal value of this instance. |
int |
getInt()
Returns the current int value of this instance. |
java.lang.String |
getOpName()
The name of the operation that is implemented by this instance. |
void |
reset()
Reset the internal values of the instance. |
void |
setType(java.lang.String type)
Setup this instance with the type that will be used during the run. |
void |
update(java.math.BigDecimal value)
Provides the next BigDecimal value with which to update this instance. |
void |
update(int value)
Provides the next int value with which to update this instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
intSum
private int intSum
- The sum of the int values
bigDecimalSum
private java.math.BigDecimal bigDecimalSum
- The sum of the BigDecimal values
| Constructor Detail |
AggregatableSum
public AggregatableSum()
| Method Detail |
getOpName
public java.lang.String getOpName()
- Description copied from interface:
Aggregate.Aggregatable - The name of the operation that is implemented by this instance.
- Specified by:
getOpNamein interfaceAggregate.Aggregatable
setType
public void setType(java.lang.String type)
- Description copied from interface:
Aggregate.Aggregatable - Setup this instance with the type that will be used during the run.
- Specified by:
setTypein interfaceAggregate.Aggregatable
reset
public void reset()
- Description copied from interface:
Aggregate.Aggregatable - Reset the internal values of the instance.
- Specified by:
resetin interfaceAggregate.Aggregatable
update
public void update(int value)
- Description copied from interface:
Aggregate.Aggregatable - Provides the next int value with which to update this instance.
- Specified by:
updatein interfaceAggregate.Aggregatable
update
public void update(java.math.BigDecimal value)
- Description copied from interface:
Aggregate.Aggregatable - Provides the next BigDecimal value with which to update this instance.
- Specified by:
updatein interfaceAggregate.Aggregatable
getInt
public int getInt()
- Description copied from interface:
Aggregate.Aggregatable - Returns the current int value of this instance.
- Specified by:
getIntin interfaceAggregate.Aggregatable
getBigDecimal
public java.math.BigDecimal getBigDecimal()
- Description copied from interface:
Aggregate.Aggregatable - Returns the current BigDecimal value of this instance.
- Specified by:
getBigDecimalin interfaceAggregate.Aggregatable
|
|||||||||
| Home >> All >> jbreport >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jbreport.data.AggregatableSum