net.sf.basedb.core
Class DynamicPositionQueryJoiners.ReporterListJoiner
java.lang.Object
net.sf.basedb.core.DynamicPositionQueryJoiners.ReporterListJoiner
- All Implemented Interfaces:
- AutoJoiner<DynamicPositionQuery,ReporterListExpression>
- Enclosing class:
- DynamicPositionQueryJoiners
private static class DynamicPositionQueryJoiners.ReporterListJoiner
- extends Object
- implements AutoJoiner<DynamicPositionQuery,ReporterListExpression>
Auto joiner for reporter lists.
- Since:
- 3.0
- Author:
- nicklas
- Last modified
- $Date: 2011-11-18 15:02:31 +0100 (Fri, 18 Nov 2011) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
joinType
private final JoinType joinType
DynamicPositionQueryJoiners.ReporterListJoiner
private DynamicPositionQueryJoiners.ReporterListJoiner(JoinType joinType)
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 interface AutoJoiner<DynamicPositionQuery,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 interface AutoJoiner<DynamicPositionQuery,ReporterListExpression>
- Returns:
- A class object representing the query element type
joinIfNeeded
public void joinIfNeeded(DynamicPositionQuery 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 interface AutoJoiner<DynamicPositionQuery,ReporterListExpression>
- Parameters:
query
- The queryelement
- The query element