public class BaseReturnValue extends Object implements ReturnValue, Serializable
JRReturnValue.| Modifier and Type | Field and Description |
|---|---|
protected CalculationEnum |
calculation
The calculation type.
|
protected String |
fromVariable
The name of the variable to be copied.
|
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 |
BaseReturnValue() |
protected |
BaseReturnValue(ReturnValue returnValue,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
CalculationEnum |
getCalculation()
Returns the calculation type.
|
String |
getFromVariable()
Returns the name of the variable whose value should be copied.
|
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 fromVariable
protected String toVariable
protected CalculationEnum calculation
protected String incrementerFactoryClassName
protected BaseReturnValue()
protected BaseReturnValue(ReturnValue returnValue, JRBaseObjectFactory factory)
public String getFromVariable()
getFromVariable in interface ReturnValuepublic String getToVariable()
getToVariable in interface ReturnValuepublic 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 ReturnValuepublic String getIncrementerFactoryClassName()
The factory will be used to increment the value of the report variable with the returned value.
getIncrementerFactoryClassName in interface ReturnValuepublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2014. All rights reserved.