Class JRDesignParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseParameter
-
- net.sf.jasperreports.engine.design.JRDesignParameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRParameter
,JRPropertiesHolder
- Direct Known Subclasses:
JRDesignCrosstabParameter
public class JRDesignParameter extends JRBaseParameter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_DEFAULT_VALUE_EXPRESSION
static String
PROPERTY_EVALUATION_TIME
static String
PROPERTY_FOR_PROMPTING
static String
PROPERTY_NAME
static String
PROPERTY_NESTED_TYPE_NAME
static String
PROPERTY_SYSTEM_DEFINED
static String
PROPERTY_VALUE_CLASS_NAME
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseParameter
defaultValueExpression, description, evaluationTime, isForPrompting, isSystemDefined, name, nestedType, nestedTypeName, propertiesMap, PROPERTY_DESCRIPTION, valueClass, valueClassName, valueClassRealName
-
Fields 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
Constructors Constructor Description JRDesignParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDefaultValueExpression(JRExpression expression)
void
setEvaluationTime(ParameterEvaluationTimeEnum evaluationTime)
void
setForPrompting(boolean isForPrompting)
void
setName(String name)
void
setNestedType(Class<?> type)
Sets the parameter nested value type.void
setNestedTypeName(String typeName)
Sets the parameter nested value type.void
setSystemDefined(boolean isSystemDefined)
void
setValueClass(Class<?> clazz)
void
setValueClassName(String className)
-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseParameter
clone, getDefaultValueExpression, getDescription, getEvaluationTime, getEventSupport, getName, getNestedType, getNestedTypeName, getParentProperties, getPropertiesMap, getValueClass, getValueClassName, hasProperties, isForPrompting, isSystemDefined, setDescription
-
-
-
-
Field Detail
-
PROPERTY_DEFAULT_VALUE_EXPRESSION
public static final String PROPERTY_DEFAULT_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_FOR_PROMPTING
public static final String PROPERTY_FOR_PROMPTING
- See Also:
- Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_SYSTEM_DEFINED
public static final String PROPERTY_SYSTEM_DEFINED
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_CLASS_NAME
public static final String PROPERTY_VALUE_CLASS_NAME
- See Also:
- Constant Field Values
-
PROPERTY_NESTED_TYPE_NAME
public static final String PROPERTY_NESTED_TYPE_NAME
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_TIME
public static final String PROPERTY_EVALUATION_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(String name)
-
setValueClass
public void setValueClass(Class<?> clazz)
-
setValueClassName
public void setValueClassName(String className)
-
setNestedType
public void setNestedType(Class<?> type)
Sets the parameter nested value type.- Parameters:
type
- the nested value type- See Also:
JRBaseParameter.getNestedType()
-
setNestedTypeName
public void setNestedTypeName(String typeName)
Sets the parameter nested value type.- Parameters:
typeName
- the name of the nested value type- See Also:
JRBaseParameter.getNestedType()
-
setSystemDefined
public void setSystemDefined(boolean isSystemDefined)
-
setForPrompting
public void setForPrompting(boolean isForPrompting)
-
setEvaluationTime
public void setEvaluationTime(ParameterEvaluationTimeEnum evaluationTime)
-
setDefaultValueExpression
public void setDefaultValueExpression(JRExpression expression)
-
-