public class JRBaseParameter extends Object implements JRParameter, Serializable, JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
protected JRExpression |
defaultValueExpression |
protected String |
description |
protected boolean |
isForPrompting |
protected boolean |
isSystemDefined |
protected String |
name |
protected Class<?> |
nestedType |
protected String |
nestedTypeName |
protected JRPropertiesMap |
propertiesMap |
static String |
PROPERTY_DESCRIPTION |
protected Class<?> |
valueClass |
protected String |
valueClassName |
protected String |
valueClassRealName |
FILTER, IS_IGNORE_PAGINATION, JASPER_REPORT, JASPER_REPORTS_CONTEXT, REPORT_CLASS_LOADER, REPORT_CONNECTION, REPORT_CONTEXT, REPORT_DATA_SOURCE, REPORT_FILE_RESOLVER, REPORT_FORMAT_FACTORY, REPORT_LOCALE, REPORT_MAX_COUNT, REPORT_PARAMETERS_MAP, REPORT_RESOURCE_BUNDLE, REPORT_SCRIPTLET, REPORT_TEMPLATES, REPORT_TIME_ZONE, REPORT_URL_HANDLER_FACTORY, REPORT_VIRTUALIZER, SORT_FIELDS
Modifier | Constructor and Description |
---|---|
protected |
JRBaseParameter() |
protected |
JRBaseParameter(JRParameter parameter,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
JRExpression |
getDefaultValueExpression() |
String |
getDescription() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
String |
getName() |
Class<?> |
getNestedType()
Returns the parameter nested value type.
|
String |
getNestedTypeName()
Returns the name of the parameter nested value type.
|
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() |
String |
getValueClassName() |
boolean |
hasProperties()
Checks whether the object has any properties.
|
boolean |
isForPrompting() |
boolean |
isSystemDefined() |
void |
setDescription(String description) |
public static final String PROPERTY_DESCRIPTION
protected String name
protected String description
protected String valueClassName
protected String valueClassRealName
protected String nestedTypeName
protected boolean isSystemDefined
protected boolean isForPrompting
protected transient Class<?> valueClass
protected transient Class<?> nestedType
protected JRExpression defaultValueExpression
protected JRPropertiesMap propertiesMap
protected JRBaseParameter()
protected JRBaseParameter(JRParameter parameter, JRBaseObjectFactory factory)
public String getName()
getName
in interface JRParameter
public String getDescription()
getDescription
in interface JRParameter
public void setDescription(String description)
setDescription
in interface JRParameter
public Class<?> getValueClass()
getValueClass
in interface JRParameter
public String getValueClassName()
getValueClassName
in interface JRParameter
public Class<?> getNestedType()
JRParameter
The parameter nested value type is used when the parameter value class
is not sufficient in determining the expected type of the parameter values.
The most common such scenario is when the parameter value class is
Collection
or a derived class, in which case the nested
type specifies the type of values which are to be placed inside the collection.
getNestedType
in interface JRParameter
null
if none setJRParameter.getValueClass()
public String getNestedTypeName()
JRParameter
getNestedTypeName
in interface JRParameter
null
if none setJRParameter.getNestedType()
public boolean isSystemDefined()
isSystemDefined
in interface JRParameter
public boolean isForPrompting()
isForPrompting
in interface JRParameter
public JRExpression getDefaultValueExpression()
getDefaultValueExpression
in interface JRParameter
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 © 2016. All rights reserved.