public class JRBaseSubreportReturnValue extends Object implements JRSubreportReturnValue, Serializable
JRSubreportReturnValue
.Modifier and Type | Field and Description |
---|---|
protected CalculationEnum |
calculationValue
The calculation type.
|
protected String |
incrementerFactoryClassName
The incrementer factory class name.
|
protected String |
subreportVariable
The name of the subreport variable to be copied.
|
protected String |
toVariable
The name of the master variable where the value should be copied.
|
Modifier | Constructor and Description |
---|---|
protected |
JRBaseSubreportReturnValue() |
protected |
JRBaseSubreportReturnValue(JRSubreportReturnValue returnValue,
JRBaseObjectFactory factory) |
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 master report variable where the value should be copied.
|
protected String subreportVariable
protected String toVariable
protected CalculationEnum calculationValue
protected String incrementerFactoryClassName
protected JRBaseSubreportReturnValue()
protected JRBaseSubreportReturnValue(JRSubreportReturnValue returnValue, JRBaseObjectFactory factory)
public String getSubreportVariable()
getFromVariable()
.getSubreportVariable
in interface JRSubreportReturnValue
public String getFromVariable()
getFromVariable
in interface VariableReturnValue
public String getToVariable()
getToVariable
in interface CommonReturnValue
public CalculationEnum getCalculationValue()
getCalculation()
.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()
When copying the value from the subreport, 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 master report variable with the value from the subreport.
getIncrementerFactoryClassName
in interface CommonReturnValue
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2017. All rights reserved.