Class DesignReturnValue
- java.lang.Object
-
- net.sf.jasperreports.engine.base.BaseCommonReturnValue
-
- net.sf.jasperreports.engine.design.DesignCommonReturnValue
-
- net.sf.jasperreports.engine.design.DesignReturnValue
-
- All Implemented Interfaces:
Serializable
,Cloneable
,CommonReturnValue
,JRChangeEventsSupport
,JRCloneable
,ReturnValue
,VariableReturnValue
public class DesignReturnValue extends DesignCommonReturnValue implements ReturnValue
Implementation ofReturnValue
to be used for report design purposes.- 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.static String
PROPERTY_FROM_VARIABLE
-
Fields inherited from class net.sf.jasperreports.engine.design.DesignCommonReturnValue
PROPERTY_CALCULATION, PROPERTY_INCREMENTER_FACTORY_CLASS_NAME, PROPERTY_TO_VARIABLE
-
Fields inherited from class net.sf.jasperreports.engine.base.BaseCommonReturnValue
calculation, incrementerFactoryClassName, toVariable
-
-
Constructor Summary
Constructors Constructor Description DesignReturnValue()
-
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.void
setFromVariable(String name)
Sets the source variable name.-
Methods inherited from class net.sf.jasperreports.engine.design.DesignCommonReturnValue
getEventSupport, setCalculation, setIncrementerFactoryClassName, setToVariable
-
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
-
PROPERTY_FROM_VARIABLE
public static final String PROPERTY_FROM_VARIABLE
- See Also:
- Constant Field Values
-
fromVariable
protected String fromVariable
The name of the variable to be copied.
-
-
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.
-
setFromVariable
public void setFromVariable(String name)
Sets the source variable name.- Parameters:
name
- the variable name- See Also:
VariableReturnValue.getFromVariable()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classDesignCommonReturnValue
-
-