public abstract class JRFillCommonReturnValue extends java.lang.Object implements CommonReturnValue
CommonReturnValue
used by the filler.Modifier and Type | Field and Description |
---|---|
protected CalculationEnum |
calculation |
static java.lang.String |
EXCEPTION_MESSAGE_KEY_INCREMENTER_CLASS_NOT_FOUND |
protected BaseReportFiller |
filler |
protected JRIncrementer |
incrementer |
protected java.lang.String |
incrementerFactoryClassName |
protected java.lang.String |
toVariable |
Modifier | Constructor and Description |
---|---|
protected |
JRFillCommonReturnValue(CommonReturnValue returnValue,
JRFillObjectFactory factory,
BaseReportFiller filler) |
protected |
JRFillCommonReturnValue(JRFillCommonReturnValue fillReturnValue,
JRFillCloneFactory factory)
Cloning constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract JRFillCommonReturnValue |
addDerivedReturnValue(CommonReturnValue parentReturnValue,
java.util.List<JRFillCommonReturnValue> returnValueList,
JRFillObjectFactory factory,
BaseReportFiller filler) |
protected JRFillCommonReturnValue |
addReturnValue(JRFillCommonReturnValue returnValue,
java.util.List<JRFillCommonReturnValue> returnValueList,
JRFillObjectFactory factory,
BaseReportFiller filler) |
java.lang.Object |
clone() |
protected abstract CommonReturnValue |
createDistinctCountHelperReturnValue(CommonReturnValue returnValue) |
protected abstract CommonReturnValue |
createHelperReturnValue(CommonReturnValue returnValue,
java.lang.String nameSuffix,
CalculationEnum calculation) |
CalculationEnum |
getCalculation()
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 |
getToVariable()
Returns the name of the report variable where the value should be copied.
|
boolean |
isDerived() |
void |
setDerived(boolean derived) |
public static final java.lang.String EXCEPTION_MESSAGE_KEY_INCREMENTER_CLASS_NOT_FOUND
protected final java.lang.String toVariable
protected final java.lang.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 java.lang.String getToVariable()
CommonReturnValue
getToVariable
in interface CommonReturnValue
public java.lang.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, java.util.List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
protected abstract JRFillCommonReturnValue addDerivedReturnValue(CommonReturnValue parentReturnValue, java.util.List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
protected abstract CommonReturnValue createHelperReturnValue(CommonReturnValue returnValue, java.lang.String nameSuffix, CalculationEnum calculation)
protected abstract CommonReturnValue createDistinctCountHelperReturnValue(CommonReturnValue returnValue)
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com