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