Package net.sf.jasperreports.engine.fill
Class JRFillVariableReturnValue
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillCommonReturnValue
-
- net.sf.jasperreports.engine.fill.JRFillVariableReturnValue
-
- All Implemented Interfaces:
Cloneable
,CommonReturnValue
,JRCloneable
,VariableReturnValue
public class JRFillVariableReturnValue extends JRFillCommonReturnValue implements VariableReturnValue
Implementation ofVariableReturnValue
used by the filler.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected String
fromVariable
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillCommonReturnValue
calculation, EXCEPTION_MESSAGE_KEY_INCREMENTER_CLASS_NOT_FOUND, filler, incrementer, incrementerFactoryClassName, toVariable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRFillVariableReturnValue(JRFillVariableReturnValue fillReturnValue, JRFillCloneFactory factory)
Cloning constructor.JRFillVariableReturnValue(VariableReturnValue returnValue, JRFillObjectFactory factory, BaseReportFiller filler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JRFillCommonReturnValue
addDerivedReturnValue(CommonReturnValue parentReturnValue, List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
protected CommonReturnValue
createDistinctCountHelperReturnValue(CommonReturnValue returnValue)
protected CommonReturnValue
createHelperReturnValue(CommonReturnValue returnValue, String nameSuffix, CalculationEnum calculation)
String
getFromVariable()
Returns the name of the variable whose value should be copied.-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillCommonReturnValue
addReturnValue, clone, getCalculation, getIncrementer, getIncrementerFactoryClassName, getToVariable, isDerived, setDerived
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.CommonReturnValue
getCalculation, getIncrementerFactoryClassName, getToVariable
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
-
-
-
Field Detail
-
fromVariable
protected final String fromVariable
-
-
Constructor Detail
-
JRFillVariableReturnValue
public JRFillVariableReturnValue(VariableReturnValue returnValue, JRFillObjectFactory factory, BaseReportFiller filler)
-
JRFillVariableReturnValue
protected JRFillVariableReturnValue(JRFillVariableReturnValue fillReturnValue, JRFillCloneFactory factory)
Cloning constructor.- Parameters:
fillReturnValue
- the object to clonefactory
- the clone factory
-
-
Method Detail
-
getFromVariable
public String getFromVariable()
Description copied from interface:VariableReturnValue
Returns the name of the variable whose value should be copied.- Specified by:
getFromVariable
in interfaceVariableReturnValue
- Returns:
- the name of the variable whose value should be copied.
-
addDerivedReturnValue
protected JRFillCommonReturnValue addDerivedReturnValue(CommonReturnValue parentReturnValue, List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
- Specified by:
addDerivedReturnValue
in classJRFillCommonReturnValue
-
createHelperReturnValue
protected CommonReturnValue createHelperReturnValue(CommonReturnValue returnValue, String nameSuffix, CalculationEnum calculation)
- Specified by:
createHelperReturnValue
in classJRFillCommonReturnValue
-
createDistinctCountHelperReturnValue
protected CommonReturnValue createDistinctCountHelperReturnValue(CommonReturnValue returnValue)
- Specified by:
createDistinctCountHelperReturnValue
in classJRFillCommonReturnValue
-
-