public class BaseReturnValue extends java.lang.Object implements ReturnValue, java.io.Serializable
JRReturnValue.| Modifier and Type | Field and Description |
|---|---|
protected CalculationEnum |
calculation
The calculation type.
|
protected java.lang.String |
fromVariable
The name of the variable to be copied.
|
protected java.lang.String |
incrementerFactoryClassName
The incrementer factory class name.
|
protected java.lang.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 |
|---|---|
java.lang.Object |
clone() |
CalculationEnum |
getCalculation()
Returns the calculation type.
|
java.lang.String |
getFromVariable()
Returns the name of the variable whose value should be copied.
|
java.lang.String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name.
|
java.lang.String |
getToVariable()
Returns the name of the report variable where the value should be copied.
|
protected java.lang.String fromVariable
protected java.lang.String toVariable
protected CalculationEnum calculation
protected java.lang.String incrementerFactoryClassName
protected BaseReturnValue()
protected BaseReturnValue(ReturnValue returnValue, JRBaseObjectFactory factory)
public java.lang.String getFromVariable()
getFromVariable in interface ReturnValuepublic java.lang.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 java.lang.String getIncrementerFactoryClassName()
The factory will be used to increment the value of the report variable with the returned value.
getIncrementerFactoryClassName in interface ReturnValuepublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object© 2001-2010 Jaspersoft Corporation www.jaspersoft.com