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()
.JRSubreportReturnValue
getSubreportVariable
in interface JRSubreportReturnValue
public String getFromVariable()
VariableReturnValue
getFromVariable
in interface VariableReturnValue
public String getToVariable()
CommonReturnValue
getToVariable
in interface CommonReturnValue
public CalculationEnum getCalculationValue()
getCalculation()
.JRSubreportReturnValue
When 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 JRSubreportReturnValue
public CalculationEnum getCalculation()
CommonReturnValue
When copying the value from, a formula can be applied such that sum, maximum, average and so on can be computed.
getCalculation
in interface CommonReturnValue
public String getIncrementerFactoryClassName()
CommonReturnValue
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 © 2017. All rights reserved.