public class SubreportReturnValueAdapter extends Object implements JRSubreportReturnValue
| Constructor and Description |
|---|
SubreportReturnValueAdapter(ReturnValue returnValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
CalculationEnum |
getCalculationValue()
Returns the calculation type.
|
String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name.
|
String |
getSubreportVariable()
Returns the name of the subreport variable whose value should be copied.
|
String |
getToVariable()
Returns the name of the master report variable where the value should be copied.
|
public SubreportReturnValueAdapter(ReturnValue returnValue)
public String getSubreportVariable()
JRSubreportReturnValuegetSubreportVariable in interface JRSubreportReturnValuepublic String getToVariable()
JRSubreportReturnValuegetToVariable in interface JRSubreportReturnValuepublic CalculationEnum getCalculationValue()
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 String getIncrementerFactoryClassName()
JRSubreportReturnValueThe factory will be used to increment the value of the master report variable with the value from the subreport.
getIncrementerFactoryClassName in interface JRSubreportReturnValuepublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2014. All rights reserved.