public class BaseCommonReturnValue extends Object implements CommonReturnValue, Serializable
CommonReturnValue.| Modifier and Type | Field and Description |
|---|---|
protected CalculationEnum |
calculation
The calculation type.
|
protected String |
incrementerFactoryClassName
The incrementer factory class name.
|
protected String |
toVariable
The name of the variable where the value should be copied.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BaseCommonReturnValue() |
protected |
BaseCommonReturnValue(CommonReturnValue returnValue,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
CalculationEnum |
getCalculation()
Returns the calculation type.
|
String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name.
|
String |
getToVariable()
Returns the name of the report variable where the value should be copied.
|
protected String toVariable
protected CalculationEnum calculation
protected String incrementerFactoryClassName
protected BaseCommonReturnValue()
protected BaseCommonReturnValue(CommonReturnValue returnValue, JRBaseObjectFactory factory)
public String getToVariable()
getToVariable in interface CommonReturnValuepublic CalculationEnum getCalculation()
When copying the returned value, a formula can be applied such that sum, maximum, average and so on can be computed.
getCalculation in interface CommonReturnValuepublic String getIncrementerFactoryClassName()
The factory will be used to increment the value of the report variable with the returned value.
getIncrementerFactoryClassName in interface CommonReturnValuepublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.