net.sf.jasperreports.engine.query
Class JRAbstractQueryExecuter.QueryParameter
java.lang.Object
net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.QueryParameter
- Enclosing class:
- JRAbstractQueryExecuter
protected static class JRAbstractQueryExecuter.QueryParameter
- extends Object
A parameter present in the query.
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_SINGLE
protected static final int COUNT_SINGLE
- See Also:
- Constant Field Values
JRAbstractQueryExecuter.QueryParameter
public JRAbstractQueryExecuter.QueryParameter(String name)
JRAbstractQueryExecuter.QueryParameter
public JRAbstractQueryExecuter.QueryParameter(String name,
int count)
JRAbstractQueryExecuter.QueryParameter
public JRAbstractQueryExecuter.QueryParameter(String name,
int count,
boolean ignoreNulls)
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
Copyright © 2012. All Rights Reserved.