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 String
PROPERTY_NAME
static String
PROPERTY_VALUE_EXPRESSION
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBasePropertyExpression()
JRBasePropertyExpression(JRPropertyExpression propertyExpression, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.String
getName()
Return the property name.JRExpression
getValueExpression()
Return the property value expression.void
setName(String name)
Set the property name.protected void
setValueExpression(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
-
-
Constructor Detail
-
JRBasePropertyExpression
protected JRBasePropertyExpression()
-
JRBasePropertyExpression
public JRBasePropertyExpression(JRPropertyExpression propertyExpression, JRBaseObjectFactory factory)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:JRPropertyExpression
Return the property name.- Specified by:
getName
in interfaceJRPropertyExpression
- Returns:
- the property name
-
setName
public void setName(String name)
Description copied from interface:JRPropertyExpression
Set the property name.- Specified by:
setName
in interfaceJRPropertyExpression
- Parameters:
name
- the property name
-
getValueExpression
public JRExpression getValueExpression()
Description copied from interface:JRPropertyExpression
Return the property value expression.- Specified by:
getValueExpression
in interfaceJRPropertyExpression
- Returns:
- the property value expression
-
setValueExpression
protected void setValueExpression(JRExpression valueExpression)
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
-