Package net.sf.jasperreports.engine
Interface JRGenericElementParameter
- All Superinterfaces:
Cloneable,JRCloneable
- All Known Implementing Classes:
JRBaseGenericElementParameter,JRDesignGenericElementParameter
A generic report element parameter.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the parameter.Returns the expression that provides parameter values.booleanDecides whether the parameter is skipped when its value evaluates tonull.Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Method Details
-
getName
String getName()Returns the name of the parameter.The name will be propagated into the generic print element, as in
JRGenericPrintElement.setParameterValue(String, Object).- Returns:
- the name of the parameter
-
getValueExpression
JRExpression getValueExpression()Returns the expression that provides parameter values.The result of the expression evaluation will be propagated into the generic print element as parameter value, as in
JRGenericPrintElement.setParameterValue(String, Object).- Returns:
- the parameter's value expression
-
isSkipWhenEmpty
boolean isSkipWhenEmpty()Decides whether the parameter is skipped when its value evaluates tonull.When the parameter's expression evaluates to
nulland this flag is set and , the parameter is not included in the generated print element. If the flag is not set, the parameter is included with anullvalue.- Returns:
- whether the parameter is skipped when its value is
null
-