Class DesignExpressionReturnValue
- java.lang.Object
-
- net.sf.jasperreports.engine.base.BaseCommonReturnValue
-
- net.sf.jasperreports.engine.design.DesignCommonReturnValue
-
- net.sf.jasperreports.engine.design.DesignExpressionReturnValue
-
- All Implemented Interfaces:
Serializable
,Cloneable
,CommonReturnValue
,JRChangeEventsSupport
,ExpressionReturnValue
,JRCloneable
public class DesignExpressionReturnValue extends DesignCommonReturnValue implements ExpressionReturnValue
Implementation ofExpressionReturnValue
to be used for report design purposes.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JRExpression
expression
The expression producing the value to copy.static String
PROPERTY_EXPRESSION
-
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 DesignExpressionReturnValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRExpression
getExpression()
Returns the expression whose value should be copied.void
setExpression(JRExpression expression)
Sets the expression.-
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_EXPRESSION
public static final String PROPERTY_EXPRESSION
- See Also:
- Constant Field Values
-
expression
protected JRExpression expression
The expression producing the value to copy.
-
-
Method Detail
-
getExpression
public JRExpression getExpression()
Returns the expression whose value should be copied.- Specified by:
getExpression
in interfaceExpressionReturnValue
- Returns:
- the expression whose value should be copied.
-
setExpression
public void setExpression(JRExpression expression)
Sets the expression.- Parameters:
expression
- the expression- See Also:
ExpressionReturnValue.getExpression()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classDesignCommonReturnValue
-
-