Package net.sf.jasperreports.engine.base
Class JRBaseDatasetParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseDatasetParameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRCloneable
,JRDatasetParameter
- Direct Known Subclasses:
JRBaseSubreportParameter
,JRDesignDatasetParameter
public class JRBaseDatasetParameter extends Object implements JRDatasetParameter, Serializable
Base read-only implementation ofJRDatasetParameter
.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JRExpression
expression
protected String
name
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBaseDatasetParameter()
protected
JRBaseDatasetParameter(JRDatasetParameter datasetParameter, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRExpression
getExpression()
Returns the value expression.String
getName()
Returns the name of the dataset parameter.
-
-
-
Field Detail
-
name
protected String name
-
expression
protected JRExpression expression
-
-
Constructor Detail
-
JRBaseDatasetParameter
protected JRBaseDatasetParameter()
-
JRBaseDatasetParameter
protected JRBaseDatasetParameter(JRDatasetParameter datasetParameter, JRBaseObjectFactory factory)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:JRDatasetParameter
Returns the name of the dataset parameter.- Specified by:
getName
in interfaceJRDatasetParameter
- Returns:
- the name of the dataset parameter
-
getExpression
public JRExpression getExpression()
Description copied from interface:JRDatasetParameter
Returns the value expression.- Specified by:
getExpression
in interfaceJRDatasetParameter
- Returns:
- the value expression
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-