Package net.sf.jasperreports.types.date
Class DateRangeBaseSQLEqualityClause
- java.lang.Object
-
- net.sf.jasperreports.types.date.DateRangeBaseSQLEqualityClause
-
- All Implemented Interfaces:
JRClauseFunction
- Direct Known Subclasses:
DateRangeSQLEqualClause
,DateRangeSQLNotEqualClause
public abstract class DateRangeBaseSQLEqualityClause extends Object implements JRClauseFunction
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_EQUAL_CLAUSE_DB_COLUMN_TOKEN_MISSING
static String
EXCEPTION_MESSAGE_KEY_EQUAL_CLAUSE_PARAMETER_TOKEN_MISSING
static String
EXCEPTION_MESSAGE_KEY_UNEXPECTED_PARAMETER_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protected
DateRangeBaseSQLEqualityClause()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
apply(JRClauseTokens clauseTokens, JRQueryClauseContext queryContext)
Handles a query clause chunk.protected abstract void
applyDateRange(JRQueryClauseContext queryContext, String column, DateRange dateRange)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_EQUAL_CLAUSE_DB_COLUMN_TOKEN_MISSING
public static final String EXCEPTION_MESSAGE_KEY_EQUAL_CLAUSE_DB_COLUMN_TOKEN_MISSING
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_EQUAL_CLAUSE_PARAMETER_TOKEN_MISSING
public static final String EXCEPTION_MESSAGE_KEY_EQUAL_CLAUSE_PARAMETER_TOKEN_MISSING
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNEXPECTED_PARAMETER_TYPE
public static final String EXCEPTION_MESSAGE_KEY_UNEXPECTED_PARAMETER_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
public void apply(JRClauseTokens clauseTokens, JRQueryClauseContext queryContext)
Description copied from interface:JRClauseFunction
Handles a query clause chunk.- Specified by:
apply
in interfaceJRClauseFunction
- Parameters:
clauseTokens
- the clause tokensqueryContext
- the query context
-
applyDateRange
protected abstract void applyDateRange(JRQueryClauseContext queryContext, String column, DateRange dateRange)
-
-