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 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 String getIncrementerFactoryClassName()
The factory will be used to increment the value of the report variable with the returned value.
getIncrementerFactoryClassName
in interface CommonReturnValue
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2016. All rights reserved.