|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.base.JRBaseParameter
public class JRBaseParameter
Field Summary | |
---|---|
protected JRExpression |
defaultValueExpression
|
protected java.lang.String |
description
|
protected boolean |
isForPrompting
|
protected boolean |
isSystemDefined
|
protected java.lang.String |
name
|
protected java.lang.Class<?> |
nestedType
|
protected java.lang.String |
nestedTypeName
|
protected JRPropertiesMap |
propertiesMap
|
static java.lang.String |
PROPERTY_DESCRIPTION
|
protected java.lang.Class<?> |
valueClass
|
protected java.lang.String |
valueClassName
|
protected java.lang.String |
valueClassRealName
|
Fields inherited from interface net.sf.jasperreports.engine.JRParameter |
---|
FILTER, IS_IGNORE_PAGINATION, JASPER_REPORT, 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 |
Constructor Summary | |
---|---|
protected |
JRBaseParameter()
|
protected |
JRBaseParameter(JRParameter parameter,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
JRExpression |
getDefaultValueExpression()
|
java.lang.String |
getDescription()
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
java.lang.String |
getName()
|
java.lang.Class<?> |
getNestedType()
Returns the parameter nested value type. |
java.lang.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. |
java.lang.Class<?> |
getValueClass()
|
java.lang.String |
getValueClassName()
|
boolean |
hasProperties()
Checks whether the object has any properties. |
boolean |
isForPrompting()
|
boolean |
isSystemDefined()
|
void |
setDescription(java.lang.String description)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 java.lang.String nestedTypeName
protected boolean isSystemDefined
protected boolean isForPrompting
protected transient java.lang.Class<?> valueClass
protected transient java.lang.Class<?> nestedType
protected JRExpression defaultValueExpression
protected JRPropertiesMap propertiesMap
Constructor Detail |
---|
protected JRBaseParameter()
protected JRBaseParameter(JRParameter parameter, JRBaseObjectFactory factory)
Method Detail |
---|
public java.lang.String getName()
getName
in interface JRParameter
public java.lang.String getDescription()
getDescription
in interface JRParameter
public void setDescription(java.lang.String description)
setDescription
in interface JRParameter
public java.lang.Class<?> getValueClass()
getValueClass
in interface JRParameter
public java.lang.String getValueClassName()
getValueClassName
in interface JRParameter
public java.lang.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 java.lang.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 java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |