Package net.sf.jasperreports.engine.fill
Class JRFillScriptlet
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillScriptlet
-
- All Implemented Interfaces:
Cloneable
,JRCloneable
,JRPropertiesHolder
,JRScriptlet
public class JRFillScriptlet extends Object implements JRScriptlet
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRScriptlet
parent
-
Fields inherited from interface net.sf.jasperreports.engine.JRScriptlet
SCRIPTLET_PARAMETER_NAME_SUFFIX
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRFillScriptlet(JRScriptlet parent, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getDescription()
String
getName()
JRPropertiesHolder
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults for this object.JRPropertiesMap
getPropertiesMap()
Returns this object's properties map.JRPropertyExpression[]
getPropertyExpressions()
Returns the list of dynamic/expression-based properties for this scriptlet.JRAbstractScriptlet
getScriptlet()
Class<?>
getValueClass()
String
getValueClassName()
boolean
hasProperties()
Checks whether the object has any properties.void
setDescription(String description)
void
setScriptlet(JRAbstractScriptlet scriptlet)
-
-
-
Field Detail
-
parent
protected JRScriptlet parent
-
-
Constructor Detail
-
JRFillScriptlet
protected JRFillScriptlet(JRScriptlet parent, JRFillObjectFactory factory)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceJRScriptlet
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceJRScriptlet
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceJRScriptlet
-
getValueClass
public Class<?> getValueClass()
- Specified by:
getValueClass
in interfaceJRScriptlet
-
getValueClassName
public String getValueClassName()
- Specified by:
getValueClassName
in interfaceJRScriptlet
-
getScriptlet
public JRAbstractScriptlet getScriptlet()
-
setScriptlet
public void setScriptlet(JRAbstractScriptlet scriptlet)
-
hasProperties
public boolean hasProperties()
Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
getParentProperties
public JRPropertiesHolder getParentProperties()
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getPropertyExpressions
public JRPropertyExpression[] getPropertyExpressions()
Description copied from interface:JRScriptlet
Returns the list of dynamic/expression-based properties for this scriptlet.- Specified by:
getPropertyExpressions
in interfaceJRScriptlet
- Returns:
- an array containing the expression-based properties of this scriptlet
-
-