Package net.sf.jasperreports.engine.fill
Class JRFillParameter
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillParameter
- All Implemented Interfaces:
Cloneable
,JRCloneable
,JRParameter
,JRPropertiesHolder
,JRValueParameter
- Direct Known Subclasses:
JRFillCrosstabParameter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsFields inherited from interface net.sf.jasperreports.engine.JRParameter
FILTER, IS_IGNORE_PAGINATION, JASPER_REPORT, JASPER_REPORTS_CONTEXT, MAX_PAGE_HEIGHT, MAX_PAGE_WIDTH, REPORT_CLASS_LOADER, REPORT_CONNECTION, REPORT_CONTEXT, REPORT_DATA_SOURCE, REPORT_FORMAT_FACTORY, REPORT_LOCALE, REPORT_MAX_COUNT, REPORT_PARAMETERS_MAP, REPORT_RESOURCE_BUNDLE, REPORT_SCRIPTLET, REPORT_TEMPLATES, REPORT_TIME_ZONE, REPORT_VIRTUALIZER, REPOSITORY_CONTEXT, SORT_FIELDS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JRFillParameter
(JRParameter parameter, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Specifies when the default value expression of a parameter is evaluated.getName()
Class
<?> Returns the parameter nested value type.Returns the name of the parameter nested value type.Returns the parent properties holder, whose properties are used as defaults for this object.Returns this object's properties map.getValue()
Returns the value assigned to the parameter.Class
<?> boolean
Checks whether the object has any properties.boolean
boolean
void
setDescription
(String description) void
Assigns the value to the parameter.
-
Field Details
-
parent
-
-
Constructor Details
-
JRFillParameter
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceJRParameter
-
getDescription
- Specified by:
getDescription
in interfaceJRParameter
-
setDescription
- Specified by:
setDescription
in interfaceJRParameter
-
getValueClass
- Specified by:
getValueClass
in interfaceJRParameter
-
getValueClassName
- Specified by:
getValueClassName
in interfaceJRParameter
-
getNestedType
Description copied from interface:JRParameter
Returns the parameter nested value type.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.- Specified by:
getNestedType
in interfaceJRParameter
- Returns:
- the nested value type for this parameter,
or
null
if none set - See Also:
-
getNestedTypeName
Description copied from interface:JRParameter
Returns the name of the parameter nested value type.- Specified by:
getNestedTypeName
in interfaceJRParameter
- Returns:
- the name of the nested value type for this parameter,
or
null
if none set - See Also:
-
isSystemDefined
public boolean isSystemDefined()- Specified by:
isSystemDefined
in interfaceJRParameter
-
isForPrompting
public boolean isForPrompting()- Specified by:
isForPrompting
in interfaceJRParameter
-
getEvaluationTime
Description copied from interface:JRParameter
Specifies when the default value expression of a parameter is evaluated.- Specified by:
getEvaluationTime
in interfaceJRParameter
-
getDefaultValueExpression
- Specified by:
getDefaultValueExpression
in interfaceJRParameter
-
getValue
Description copied from interface:JRValueParameter
Returns the value assigned to the parameter.- Specified by:
getValue
in interfaceJRValueParameter
- Returns:
- the value assigned to the parameter
-
setValue
Description copied from interface:JRValueParameter
Assigns the value to the parameter.- Specified by:
setValue
in interfaceJRValueParameter
- Parameters:
value
- the value assigned to the parameter
-
hasProperties
public boolean hasProperties()Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertiesMap
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
getParentProperties
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-