public class BaseCommonReturnValue extends java.lang.Object implements CommonReturnValue, java.io.Serializable
CommonReturnValue
.Modifier and Type | Field and Description |
---|---|
protected CalculationEnum |
calculation
The calculation type.
|
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 |
BaseCommonReturnValue() |
protected |
BaseCommonReturnValue(CommonReturnValue returnValue,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
CalculationEnum |
getCalculation()
Returns the calculation type.
|
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 toVariable
protected CalculationEnum calculation
protected java.lang.String incrementerFactoryClassName
protected BaseCommonReturnValue()
protected BaseCommonReturnValue(CommonReturnValue returnValue, JRBaseObjectFactory factory)
public java.lang.String getToVariable()
getToVariable
in interface CommonReturnValue
public 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 CommonReturnValue
public java.lang.String getIncrementerFactoryClassName()
The factory will be used to increment the value of the report variable with the returned value.
getIncrementerFactoryClassName
in interface CommonReturnValue
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com