public class JRFillSubreportReturnValue extends java.lang.Object implements JRSubreportReturnValue
JRSubreportReturnValue
used by the filler.| Modifier and Type | Field and Description |
|---|---|
protected CalculationEnum |
calculation |
protected JRBaseFiller |
filler |
protected java.lang.String |
fromVariable |
protected JRIncrementer |
incrementer |
protected java.lang.String |
incrementerFactoryClassName |
protected java.lang.String |
toVariable |
| Modifier | Constructor and Description |
|---|---|
protected |
JRFillSubreportReturnValue(JRSubreportReturnValue returnValue,
JRFillObjectFactory factory,
JRBaseFiller filler) |
|
JRFillSubreportReturnValue(ReturnValue returnValue,
JRFillObjectFactory factory,
JRBaseFiller filler) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
CalculationEnum |
getCalculationValue()
Returns the calculation type.
|
JRIncrementer |
getIncrementer()
Gets the incrementer to be used for this copied value.
|
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.
|
boolean |
isDerived() |
void |
setDerived(boolean derived) |
protected final java.lang.String fromVariable
protected final java.lang.String toVariable
protected final java.lang.String incrementerFactoryClassName
protected final CalculationEnum calculation
protected JRIncrementer incrementer
protected final JRBaseFiller filler
protected JRFillSubreportReturnValue(JRSubreportReturnValue returnValue, JRFillObjectFactory factory, JRBaseFiller filler)
public JRFillSubreportReturnValue(ReturnValue returnValue, JRFillObjectFactory factory, JRBaseFiller filler)
public java.lang.String getSubreportVariable()
JRSubreportReturnValuegetSubreportVariable in interface JRSubreportReturnValuepublic java.lang.String getToVariable()
JRSubreportReturnValuegetToVariable in interface JRSubreportReturnValuepublic java.lang.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 java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object© 2001-2010 Jaspersoft Corporation www.jaspersoft.com