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 JRScriptlet
public String getDescription()
getDescription
in interface JRScriptlet
public void setDescription(String description)
setDescription
in interface JRScriptlet
public Class<?> getValueClass()
getValueClass
in interface JRScriptlet
public 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 Object clone()
clone
in interface JRCloneable
clone
in class Object
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
Copyright © 2017. All rights reserved.