Package net.sf.jasperreports.engine.base
Class BaseReturnValue
- java.lang.Object
-
- net.sf.jasperreports.engine.base.BaseCommonReturnValue
-
- net.sf.jasperreports.engine.base.BaseReturnValue
-
- All Implemented Interfaces:
Serializable
,Cloneable
,CommonReturnValue
,JRCloneable
,ReturnValue
,VariableReturnValue
public class BaseReturnValue extends BaseCommonReturnValue implements ReturnValue
Base implementation ofReturnValue
.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
fromVariable
The name of the variable to be copied.-
Fields inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
calculation, incrementerFactoryClassName, toVariable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseReturnValue()
protected
BaseReturnValue(ReturnValue returnValue, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getFromVariable()
Returns the name of the variable whose value should be copied.-
Methods inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
getCalculation, getIncrementerFactoryClassName, getToVariable
-
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
-
-
-
-
Field Detail
-
fromVariable
protected String fromVariable
The name of the variable to be copied.
-
-
Constructor Detail
-
BaseReturnValue
protected BaseReturnValue()
-
BaseReturnValue
protected BaseReturnValue(ReturnValue returnValue, JRBaseObjectFactory factory)
-
-
Method Detail
-
getFromVariable
public String getFromVariable()
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.
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classBaseCommonReturnValue
-
-