public class SubreportReturnValueAdapter extends Object implements JRSubreportReturnValue
| Constructor and Description |
|---|
SubreportReturnValueAdapter(VariableReturnValue returnValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
CalculationEnum |
getCalculation()
Returns the calculation type.
|
CalculationEnum |
getCalculationValue()
Deprecated.
Replaced by
getCalculation(). |
String |
getFromVariable()
Returns the name of the variable whose value should be copied.
|
String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name.
|
String |
getSubreportVariable()
Deprecated.
Replaced by
getFromVariable(). |
String |
getToVariable()
Returns the name of the report variable where the value should be copied.
|
public SubreportReturnValueAdapter(VariableReturnValue returnValue)
public String getSubreportVariable()
getFromVariable().JRSubreportReturnValuegetSubreportVariable in interface JRSubreportReturnValuepublic String getFromVariable()
VariableReturnValuegetFromVariable in interface VariableReturnValuepublic String getToVariable()
CommonReturnValuegetToVariable in interface CommonReturnValuepublic CalculationEnum getCalculationValue()
getCalculation().JRSubreportReturnValueWhen copying the value from the subreport, a formula can be applied such that sum, maximum, average and so on can be computed.
getCalculationValue in interface JRSubreportReturnValuepublic CalculationEnum getCalculation()
CommonReturnValueWhen copying the value from, a formula can be applied such that sum, maximum, average and so on can be computed.
getCalculation in interface CommonReturnValuepublic String getIncrementerFactoryClassName()
CommonReturnValueThe 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.