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: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
joinType
private final JoinType joinType
HqlQueryJoiners.ReporterListJoiner
private HqlQueryJoiners.ReporterListJoiner(JoinType joinType)
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 interface AutoJoiner<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 interface AutoJoiner<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 interface AutoJoiner<HqlQuery,ReporterListExpression>
- Parameters:
query
- The queryelement
- The query element