public class JRBaseScriptlet extends Object implements JRScriptlet, Serializable, JRChangeEventsSupport
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
name |
protected JRPropertiesMap |
propertiesMap |
static String |
PROPERTY_DESCRIPTION |
protected Class<?> |
valueClass |
protected String |
valueClassName |
protected String |
valueClassRealName |
SCRIPTLET_PARAMETER_NAME_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseScriptlet() |
protected |
JRBaseScriptlet(JRScriptlet scriptlet,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
String |
getDescription() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
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.
|
Class<?> |
getValueClass() |
String |
getValueClassName() |
boolean |
hasProperties()
Checks whether the object has any properties.
|
void |
setDescription(String description) |
public static final String PROPERTY_DESCRIPTION
protected String name
protected String description
protected String valueClassName
protected String valueClassRealName
protected transient Class<?> valueClass
protected JRPropertiesMap propertiesMap
protected JRBaseScriptlet()
protected JRBaseScriptlet(JRScriptlet scriptlet, JRBaseObjectFactory factory)
public String getName()
getName in interface JRScriptletpublic String getDescription()
getDescription in interface JRScriptletpublic void setDescription(String description)
setDescription in interface JRScriptletpublic Class<?> getValueClass()
getValueClass in interface JRScriptletpublic String getValueClassName()
getValueClassName in interface JRScriptletpublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic Object clone()
clone in interface JRCloneableclone in class Objectpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2017. All rights reserved.