Package net.sf.jasperreports.engine.base
Class JRBaseField
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseField
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRField
,JRPropertiesHolder
- Direct Known Subclasses:
JRDesignField
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
JRBaseField
(JRField field, JRBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Gets the field optional description.Returns the property change support object for this instance.getName()
Gets the field unique name.Returns the parent properties holder, whose properties are used as defaults for this object.Returns this object's properties map.Returns the list of dynamic/expression-based properties for this field.Class
<?> Gets the field value class.Gets the field value class name.boolean
Checks whether the object has any properties.void
setDescription
(String description) Sets the field description.
-
Field Details
-
PROPERTY_DESCRIPTION
- See Also:
-
name
-
description
-
valueClassName
-
valueClassRealName
-
valueClass
-
propertiesMap
-
-
Constructor Details
-
JRBaseField
protected JRBaseField() -
JRBaseField
-
-
Method Details
-
getName
Description copied from interface:JRField
Gets the field unique name. -
getDescription
Description copied from interface:JRField
Gets the field optional description.- Specified by:
getDescription
in interfaceJRField
-
setDescription
Description copied from interface:JRField
Sets the field description.- Specified by:
setDescription
in interfaceJRField
-
getValueClass
Description copied from interface:JRField
Gets the field value class. Field types cannot be primitives.- Specified by:
getValueClass
in interfaceJRField
-
getValueClassName
Description copied from interface:JRField
Gets the field value class name.- Specified by:
getValueClassName
in interfaceJRField
-
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
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
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
-
getPropertyExpressions
Description copied from interface:JRField
Returns the list of dynamic/expression-based properties for this field.- Specified by:
getPropertyExpressions
in interfaceJRField
- Returns:
- an array containing the expression-based properties of this field
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getEventSupport
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-