Package net.sf.basedb.core
Class DynamicPositionQueryJoiners.ReporterJoiner
- java.lang.Object
-
- net.sf.basedb.core.DynamicPositionQueryJoiners.ReporterJoiner
-
- All Implemented Interfaces:
AutoJoiner<DynamicPositionQuery,ReporterPropertyExpression>
- Enclosing class:
- DynamicPositionQueryJoiners
private static class DynamicPositionQueryJoiners.ReporterJoiner extends Object implements AutoJoiner<DynamicPositionQuery,ReporterPropertyExpression>
Joiner for reporters- Version:
- 2.12
- Author:
- nicklas
- Last modified
- $Date: 2012-03-23 08:57:12 +0100 (fr, 23 mar 2012) $
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ReporterJoiner(JoinType joinType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<ReporterPropertyExpression>
getElementClass()
The type of the query element the implementation works for.Class<DynamicPositionQuery>
getQueryClass()
The type of the query the implementation works for.void
joinIfNeeded(DynamicPositionQuery query, ReporterPropertyExpression element)
Automatically join the tables that is is needed by the query element unless they are already joined.void
reset(DynamicPositionQuery query)
Called to indicate thatQuery.reset()
has been called on the given query.
-
-
-
Field Detail
-
joinType
private final JoinType joinType
-
-
Constructor Detail
-
ReporterJoiner
private ReporterJoiner(JoinType joinType)
-
-
Method Detail
-
getQueryClass
public Class<DynamicPositionQuery> 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<DynamicPositionQuery,ReporterPropertyExpression>
- Returns:
- A class object representing the query type
-
getElementClass
public Class<ReporterPropertyExpression> 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<DynamicPositionQuery,ReporterPropertyExpression>
- Returns:
- A class object representing the query element type
-
joinIfNeeded
public void joinIfNeeded(DynamicPositionQuery query, ReporterPropertyExpression 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<DynamicPositionQuery,ReporterPropertyExpression>
- Parameters:
query
- The queryelement
- The query element
-
reset
public void reset(DynamicPositionQuery query)
Description copied from interface:AutoJoiner
Called to indicate thatQuery.reset()
has been called on the given query.- Specified by:
reset
in interfaceAutoJoiner<DynamicPositionQuery,ReporterPropertyExpression>
- Parameters:
query
- The query
-
-