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()
JRFieldpublic String getDescription()
JRFieldgetDescription in interface JRFieldpublic void setDescription(String description)
JRFieldsetDescription in interface JRFieldpublic Class<?> getValueClass()
JRFieldgetValueClass in interface JRFieldpublic String getValueClassName()
JRFieldgetValueClassName in interface JRFieldpublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic Object clone()
clone in interface JRCloneableclone in class Objectpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2017. All rights reserved.