public abstract class JRFillCommonReturnValue extends Object implements CommonReturnValue
CommonReturnValue
used by the filler.Modifier and Type | Field and Description |
---|---|
protected CalculationEnum |
calculation |
static String |
EXCEPTION_MESSAGE_KEY_INCREMENTER_CLASS_NOT_FOUND |
protected BaseReportFiller |
filler |
protected JRIncrementer |
incrementer |
protected String |
incrementerFactoryClassName |
protected String |
toVariable |
Modifier | Constructor and Description |
---|---|
protected |
JRFillCommonReturnValue(CommonReturnValue returnValue,
JRFillObjectFactory factory,
BaseReportFiller filler) |
protected |
JRFillCommonReturnValue(JRFillCommonReturnValue fillReturnValue,
JRFillCloneFactory factory)
Cloning constructor.
|
public static final String EXCEPTION_MESSAGE_KEY_INCREMENTER_CLASS_NOT_FOUND
protected final String toVariable
protected final String incrementerFactoryClassName
protected final CalculationEnum calculation
protected JRIncrementer incrementer
protected final BaseReportFiller filler
protected JRFillCommonReturnValue(CommonReturnValue returnValue, JRFillObjectFactory factory, BaseReportFiller filler)
protected JRFillCommonReturnValue(JRFillCommonReturnValue fillReturnValue, JRFillCloneFactory factory)
fillReturnValue
- the object to clonefactory
- the clone factorypublic String getToVariable()
CommonReturnValue
getToVariable
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 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 JRIncrementer getIncrementer()
public boolean isDerived()
public void setDerived(boolean derived)
protected JRFillCommonReturnValue addReturnValue(JRFillCommonReturnValue returnValue, List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
protected abstract JRFillCommonReturnValue addDerivedReturnValue(CommonReturnValue parentReturnValue, List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
protected abstract CommonReturnValue createHelperReturnValue(CommonReturnValue returnValue, String nameSuffix, CalculationEnum calculation)
protected abstract CommonReturnValue createDistinctCountHelperReturnValue(CommonReturnValue returnValue)
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2017. All rights reserved.