public class JRBaseField extends java.lang.Object implements JRField, 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 |
Modifier | Constructor and Description |
---|---|
protected |
JRBaseField() |
protected |
JRBaseField(JRField field,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getDescription()
Gets the field optional description.
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
java.lang.String |
getName()
Gets the field unique name.
|
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()
Gets the field value class.
|
java.lang.String |
getValueClassName()
Gets the field value class name.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
void |
setDescription(java.lang.String description)
Sets the field 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 JRBaseField()
protected JRBaseField(JRField field, JRBaseObjectFactory factory)
public java.lang.String getName()
JRField
public java.lang.String getDescription()
JRField
getDescription
in interface JRField
public void setDescription(java.lang.String description)
JRField
setDescription
in interface JRField
public java.lang.Class<?> getValueClass()
JRField
getValueClass
in interface JRField
public java.lang.String getValueClassName()
JRField
getValueClassName
in interface JRField
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