net.sf.jasperreports.engine.base
Class JRBaseScriptlet

java.lang.Object
  extended by net.sf.jasperreports.engine.base.JRBaseScriptlet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, JRChangeEventsSupport, JRCloneable, JRPropertiesHolder, JRScriptlet
Direct Known Subclasses:
JRDesignScriptlet

public class JRBaseScriptlet
extends java.lang.Object
implements JRScriptlet, java.io.Serializable, JRChangeEventsSupport

Version:
$Id: JRBaseScriptlet.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
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
           
 
Fields inherited from interface net.sf.jasperreports.engine.JRScriptlet
SCRIPTLET_PARAMETER_NAME_SUFFIX
 
Constructor Summary
protected JRBaseScriptlet()
           
protected JRBaseScriptlet(JRScriptlet scriptlet, JRBaseObjectFactory factory)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_DESCRIPTION

public static final java.lang.String PROPERTY_DESCRIPTION
See Also:
Constant Field Values

name

protected java.lang.String name

description

protected java.lang.String description

valueClassName

protected java.lang.String valueClassName

valueClassRealName

protected java.lang.String valueClassRealName

valueClass

protected transient java.lang.Class<?> valueClass

propertiesMap

protected JRPropertiesMap propertiesMap
Constructor Detail

JRBaseScriptlet

protected JRBaseScriptlet()

JRBaseScriptlet

protected JRBaseScriptlet(JRScriptlet scriptlet,
                          JRBaseObjectFactory factory)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface JRScriptlet

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface JRScriptlet

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface JRScriptlet

getValueClass

public java.lang.Class<?> getValueClass()
Specified by:
getValueClass in interface JRScriptlet

getValueClassName

public java.lang.String getValueClassName()
Specified by:
getValueClassName in interface JRScriptlet

hasProperties

public boolean hasProperties()
Description copied from interface: JRPropertiesHolder
Checks whether the object has any properties.

Specified by:
hasProperties in interface JRPropertiesHolder
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 interface JRPropertiesHolder
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 interface JRPropertiesHolder
Returns:
the parent properties holder, or null if no parent

clone

public java.lang.Object clone()
Specified by:
clone in interface JRCloneable
Overrides:
clone in class java.lang.Object

getEventSupport

public JRPropertyChangeSupport getEventSupport()
Description copied from interface: JRChangeEventsSupport
Returns the property change support object for this instance.

Specified by:
getEventSupport in interface JRChangeEventsSupport
Returns:
the property change support object for this instance


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com