Class JRAbstractQueryExecuter.QueryParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameter
-
- All Implemented Interfaces:
JRAbstractQueryExecuter.QueryParameterEntry
- Enclosing class:
- JRAbstractQueryExecuter
protected static class JRAbstractQueryExecuter.QueryParameter extends Object implements JRAbstractQueryExecuter.QueryParameterEntry
A parameter present in the query.
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
COUNT_SINGLE
-
Constructor Summary
Constructors Constructor Description QueryParameter(String name)
QueryParameter(String name, int count)
QueryParameter(String name, int count, boolean ignoreNulls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JRAbstractQueryExecuter.QueryParameterVisitor visitor)
int
getCount()
Returns the number of parameter values.String
getName()
Returns the name of the report parameter.boolean
isIgnoreNulls()
boolean
isMulti()
Decides whether the parameter has multiple values.
-
-
-
Field Detail
-
COUNT_SINGLE
protected static final int COUNT_SINGLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isMulti
public boolean isMulti()
Decides whether the parameter has multiple values.- Returns:
- whether the parameter has multiple values.
-
getCount
public int getCount()
Returns the number of parameter values.- Returns:
- the number of parameter values
- See Also:
isMulti()
-
getName
public String getName()
Returns the name of the report parameter.- Returns:
- the name of the report parameter
-
isIgnoreNulls
public boolean isIgnoreNulls()
- Returns:
- a flag indicating if the null values in a multiparameter value should be ignored
-
accept
public void accept(JRAbstractQueryExecuter.QueryParameterVisitor visitor) throws JRAbstractQueryExecuter.VisitExceptionWrapper
- Specified by:
accept
in interfaceJRAbstractQueryExecuter.QueryParameterEntry
- Throws:
JRAbstractQueryExecuter.VisitExceptionWrapper
-
-