public class JRFillParameter extends java.lang.Object implements JRValueParameter
| Modifier and Type | Field and Description |
|---|---|
protected JRParameter |
parent |
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 |
JRFillParameter(JRParameter parameter,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
JRExpression |
getDefaultValueExpression() |
java.lang.String |
getDescription() |
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.Object |
getValue()
Returns the value assigned to the parameter.
|
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) |
void |
setValue(java.lang.Object value)
Assigns the value to the parameter.
|
protected JRParameter parent
protected JRFillParameter(JRParameter parameter, JRFillObjectFactory factory)
public java.lang.String getName()
getName in interface JRParameterpublic java.lang.String getDescription()
getDescription in interface JRParameterpublic void setDescription(java.lang.String description)
setDescription in interface JRParameterpublic java.lang.Class<?> getValueClass()
getValueClass in interface JRParameterpublic java.lang.String getValueClassName()
getValueClassName in interface JRParameterpublic 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 JRParameternull if none setJRParameter.getValueClass()public java.lang.String getNestedTypeName()
JRParametergetNestedTypeName in interface JRParameternull if none setJRParameter.getNestedType()public boolean isSystemDefined()
isSystemDefined in interface JRParameterpublic boolean isForPrompting()
isForPrompting in interface JRParameterpublic JRExpression getDefaultValueExpression()
getDefaultValueExpression in interface JRParameterpublic java.lang.Object getValue()
JRValueParametergetValue in interface JRValueParameterpublic void setValue(java.lang.Object value)
JRValueParametersetValue in interface JRValueParametervalue - the value assigned to the parameterpublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object© 2001-2010 Jaspersoft Corporation www.jaspersoft.com