Package net.sf.basedb.core
Class HqlQueryJoiners.ReporterListJoiner
- java.lang.Object
-
- net.sf.basedb.core.HqlQueryJoiners.ReporterListJoiner
-
- All Implemented Interfaces:
AutoJoiner<HqlQuery,ReporterListExpression>
- Enclosing class:
- HqlQueryJoiners
private static class HqlQueryJoiners.ReporterListJoiner extends Object implements AutoJoiner<HqlQuery,ReporterListExpression>
Joiner for reporter lists.- Version:
- 2.8
- Author:
- nicklas
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ReporterListJoiner(JoinType joinType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<ReporterListExpression>
getElementClass()
The type of the query element the implementation works for.Class<HqlQuery>
getQueryClass()
The type of the query the implementation works for.void
joinIfNeeded(HqlQuery query, ReporterListExpression element)
Automatically join the tables that is is needed by the query element unless they are already joined.void
reset(HqlQuery query)
Called to indicate thatQuery.reset()
has been called on the given query.
-
-
-
Field Detail
-
joinType
private final JoinType joinType
-
-
Constructor Detail
-
ReporterListJoiner
private ReporterListJoiner(JoinType joinType)
-
-
Method Detail
-
getQueryClass
public Class<HqlQuery> getQueryClass()
Description copied from interface:AutoJoiner
The type of the query the implementation works for. This can be an actual subclass or a superclass.- Specified by:
getQueryClass
in interfaceAutoJoiner<HqlQuery,ReporterListExpression>
- Returns:
- A class object representing the query type
-
getElementClass
public Class<ReporterListExpression> getElementClass()
Description copied from interface:AutoJoiner
The type of the query element the implementation works for. This can be an actual subclass or a superclass.- Specified by:
getElementClass
in interfaceAutoJoiner<HqlQuery,ReporterListExpression>
- Returns:
- A class object representing the query element type
-
joinIfNeeded
public void joinIfNeeded(HqlQuery query, ReporterListExpression element)
Description copied from interface:AutoJoiner
Automatically join the tables that is is needed by the query element unless they are already joined.- Specified by:
joinIfNeeded
in interfaceAutoJoiner<HqlQuery,ReporterListExpression>
- Parameters:
query
- The queryelement
- The query element
-
reset
public void reset(HqlQuery query)
Description copied from interface:AutoJoiner
Called to indicate thatQuery.reset()
has been called on the given query.- Specified by:
reset
in interfaceAutoJoiner<HqlQuery,ReporterListExpression>
- Parameters:
query
- The query
-
-