Package net.sf.basedb.core
Class DynamicSpotQueryJoiners.ReporterListJoiner
java.lang.Object
net.sf.basedb.core.DynamicSpotQueryJoiners.ReporterListJoiner
- All Implemented Interfaces:
AutoJoiner<DynamicSpotQuery,ReporterListExpression>
- Enclosing class:
- DynamicSpotQueryJoiners
private static class DynamicSpotQueryJoiners.ReporterListJoiner extends Object implements AutoJoiner<DynamicSpotQuery,ReporterListExpression>
Joiner for reporter lists.
- Version:
- 2.0
- Author:
- nicklas
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ReporterListJoiner(JoinType joinType)
-
Method Summary
Modifier and Type Method Description Class<ReporterListExpression>
getElementClass()
The type of the query element the implementation works for.Class<DynamicSpotQuery>
getQueryClass()
The type of the query the implementation works for.void
joinIfNeeded(DynamicSpotQuery query, ReporterListExpression element)
Automatically join the tables that is is needed by the query element unless they are already joined.void
reset(DynamicSpotQuery query)
Called to indicate thatQuery.reset()
has been called on the given query.
-
Field Details
-
joinType
-
-
Constructor Details
-
ReporterListJoiner
-
-
Method Details
-
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<DynamicSpotQuery,ReporterListExpression>
- Returns:
- A class object representing the query type
-
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<DynamicSpotQuery,ReporterListExpression>
- Returns:
- A class object representing the query element type
-
joinIfNeeded
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<DynamicSpotQuery,ReporterListExpression>
- Parameters:
query
- The queryelement
- The query element
-
reset
Description copied from interface:AutoJoiner
Called to indicate thatQuery.reset()
has been called on the given query.- Specified by:
reset
in interfaceAutoJoiner<DynamicSpotQuery,ReporterListExpression>
- Parameters:
query
- The query
-