public class JRFillSubreportReturnValue extends Object implements JRSubreportReturnValue
JRSubreportReturnValue
used by the filler.| Modifier and Type | Field and Description |
|---|---|
protected CalculationEnum |
calculation |
protected BaseReportFiller |
filler |
protected String |
fromVariable |
protected JRIncrementer |
incrementer |
protected String |
incrementerFactoryClassName |
protected String |
toVariable |
| Modifier | Constructor and Description |
|---|---|
protected |
JRFillSubreportReturnValue(JRFillSubreportReturnValue fillReturnValue,
JRFillCloneFactory factory)
Cloning constructor.
|
protected |
JRFillSubreportReturnValue(JRSubreportReturnValue returnValue,
JRFillObjectFactory factory,
BaseReportFiller filler) |
|
JRFillSubreportReturnValue(ReturnValue returnValue,
JRFillObjectFactory factory,
JRBaseFiller filler) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
CalculationEnum |
getCalculationValue()
Returns the calculation type.
|
JRIncrementer |
getIncrementer()
Gets the incrementer to be used for this copied value.
|
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.
|
boolean |
isDerived() |
void |
setDerived(boolean derived) |
protected final String fromVariable
protected final String toVariable
protected final String incrementerFactoryClassName
protected final CalculationEnum calculation
protected JRIncrementer incrementer
protected final BaseReportFiller filler
protected JRFillSubreportReturnValue(JRSubreportReturnValue returnValue, JRFillObjectFactory factory, BaseReportFiller filler)
public JRFillSubreportReturnValue(ReturnValue returnValue, JRFillObjectFactory factory, JRBaseFiller filler)
protected JRFillSubreportReturnValue(JRFillSubreportReturnValue fillReturnValue, JRFillCloneFactory factory)
fillReturnValue - the object to clonefactory - the clone factorypublic String getSubreportVariable()
JRSubreportReturnValuegetSubreportVariable in interface JRSubreportReturnValuepublic String getToVariable()
JRSubreportReturnValuegetToVariable 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 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 JRIncrementer getIncrementer()
public boolean isDerived()
public void setDerived(boolean derived)
public Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2015. All rights reserved.