public class JRBaseScriptlet extends java.lang.Object implements JRScriptlet, java.io.Serializable, JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.lang.String |
name |
protected JRPropertiesMap |
propertiesMap |
static java.lang.String |
PROPERTY_DESCRIPTION |
protected java.lang.Class<?> |
valueClass |
protected java.lang.String |
valueClassName |
protected java.lang.String |
valueClassRealName |
SCRIPTLET_PARAMETER_NAME_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
JRBaseScriptlet() |
protected |
JRBaseScriptlet(JRScriptlet scriptlet,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getDescription() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
java.lang.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.
|
java.lang.Class<?> |
getValueClass() |
java.lang.String |
getValueClassName() |
boolean |
hasProperties()
Checks whether the object has any properties.
|
void |
setDescription(java.lang.String description) |
public static final java.lang.String PROPERTY_DESCRIPTION
protected java.lang.String name
protected java.lang.String description
protected java.lang.String valueClassName
protected java.lang.String valueClassRealName
protected transient java.lang.Class<?> valueClass
protected JRPropertiesMap propertiesMap
protected JRBaseScriptlet()
protected JRBaseScriptlet(JRScriptlet scriptlet, JRBaseObjectFactory factory)
public java.lang.String getName()
getName
in interface JRScriptlet
public java.lang.String getDescription()
getDescription
in interface JRScriptlet
public void setDescription(java.lang.String description)
setDescription
in interface JRScriptlet
public java.lang.Class<?> getValueClass()
getValueClass
in interface JRScriptlet
public java.lang.String getValueClassName()
getValueClassName
in interface JRScriptlet
public boolean hasProperties()
JRPropertiesHolder
hasProperties
in interface JRPropertiesHolder
public JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap
in interface JRPropertiesHolder
public JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties
in interface JRPropertiesHolder
null
if no parentpublic java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com