Package net.sf.jasperreports.engine.base
Class JRBasePropertyExpression
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBasePropertyExpression
-
- All Implemented Interfaces:
Serializable,Cloneable,JRChangeEventsSupport,JRCloneable,JRPropertyExpression
- Direct Known Subclasses:
BaseDatasetPropertyExpression,JRDesignPropertyExpression
public class JRBasePropertyExpression extends Object implements JRPropertyExpression, Serializable, JRChangeEventsSupport
Base implementation ofJRPropertyExpression.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_NAMEstatic StringpROPERTY_VALUE_EXPRESSIONDeprecated.Replaced byPROPERTY_VALUE_EXPRESSION.static StringPROPERTY_VALUE_EXPRESSION
-
Constructor Summary
Constructors Modifier Constructor Description protectedJRBasePropertyExpression()JRBasePropertyExpression(JRPropertyExpression propertyExpression, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()JRPropertyChangeSupportgetEventSupport()Returns the property change support object for this instance.StringgetName()Return the property name.JRExpressiongetValueExpression()Return the property value expression.voidsetName(String name)Set the property name.protected voidsetValueExpression(JRExpression valueExpression)
-
-
-
Field Detail
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_EXPRESSION
public static final String PROPERTY_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
pROPERTY_VALUE_EXPRESSION
public static final String pROPERTY_VALUE_EXPRESSION
Deprecated.Replaced byPROPERTY_VALUE_EXPRESSION.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JRBasePropertyExpression
protected JRBasePropertyExpression()
-
JRBasePropertyExpression
public JRBasePropertyExpression(JRPropertyExpression propertyExpression, JRBaseObjectFactory factory)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:JRPropertyExpressionReturn the property name.- Specified by:
getNamein interfaceJRPropertyExpression- Returns:
- the property name
-
setName
public void setName(String name)
Description copied from interface:JRPropertyExpressionSet the property name.- Specified by:
setNamein interfaceJRPropertyExpression- Parameters:
name- the property name
-
getValueExpression
public JRExpression getValueExpression()
Description copied from interface:JRPropertyExpressionReturn the property value expression.- Specified by:
getValueExpressionin interfaceJRPropertyExpression- Returns:
- the property value expression
-
setValueExpression
protected void setValueExpression(JRExpression valueExpression)
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-
-