public class JRBaseSubreportReturnValue extends java.lang.Object implements JRSubreportReturnValue, java.io.Serializable
JRSubreportReturnValue
.Modifier and Type | Field and Description |
---|---|
protected CalculationEnum |
calculationValue
The calculation type.
|
protected java.lang.String |
incrementerFactoryClassName
The incrementer factory class name.
|
protected java.lang.String |
subreportVariable
The name of the subreport variable to be copied.
|
protected java.lang.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 |
---|---|
java.lang.Object |
clone() |
CalculationEnum |
getCalculationValue()
Returns the calculation type.
|
java.lang.String |
getIncrementerFactoryClassName()
Returns the incrementer factory class name.
|
java.lang.String |
getSubreportVariable()
Returns the name of the subreport variable whose value should be copied.
|
java.lang.String |
getToVariable()
Returns the name of the master report variable where the value should be copied.
|
protected java.lang.String subreportVariable
protected java.lang.String toVariable
protected CalculationEnum calculationValue
protected java.lang.String incrementerFactoryClassName
protected JRBaseSubreportReturnValue()
protected JRBaseSubreportReturnValue(JRSubreportReturnValue returnValue, JRBaseObjectFactory factory)
public java.lang.String getSubreportVariable()
getSubreportVariable
in interface JRSubreportReturnValue
public java.lang.String getToVariable()
getToVariable
in interface JRSubreportReturnValue
public CalculationEnum getCalculationValue()
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 java.lang.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 JRSubreportReturnValue
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com