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:
java.lang.Cloneable,CommonReturnValue,JRCloneable,VariableReturnValue
public class JRFillVariableReturnValue extends JRFillCommonReturnValue implements VariableReturnValue
Implementation ofVariableReturnValueused by the filler.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringfromVariable-
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 protectedJRFillVariableReturnValue(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 JRFillCommonReturnValueaddDerivedReturnValue(CommonReturnValue parentReturnValue, java.util.List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)protected CommonReturnValuecreateDistinctCountHelperReturnValue(CommonReturnValue returnValue)protected CommonReturnValuecreateHelperReturnValue(CommonReturnValue returnValue, java.lang.String nameSuffix, CalculationEnum calculation)java.lang.StringgetFromVariable()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
-
-
-
-
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 java.lang.String getFromVariable()
Description copied from interface:VariableReturnValueReturns the name of the variable whose value should be copied.- Specified by:
getFromVariablein interfaceVariableReturnValue- Returns:
- the name of the variable whose value should be copied.
-
addDerivedReturnValue
protected JRFillCommonReturnValue addDerivedReturnValue(CommonReturnValue parentReturnValue, java.util.List<JRFillCommonReturnValue> returnValueList, JRFillObjectFactory factory, BaseReportFiller filler)
- Specified by:
addDerivedReturnValuein classJRFillCommonReturnValue
-
createHelperReturnValue
protected CommonReturnValue createHelperReturnValue(CommonReturnValue returnValue, java.lang.String nameSuffix, CalculationEnum calculation)
- Specified by:
createHelperReturnValuein classJRFillCommonReturnValue
-
createDistinctCountHelperReturnValue
protected CommonReturnValue createDistinctCountHelperReturnValue(CommonReturnValue returnValue)
- Specified by:
createDistinctCountHelperReturnValuein classJRFillCommonReturnValue
-
-