3.0.1: 2011-11-10

net.sf.basedb.core
Class DynamicReporterQuery.ReporterListJoiner

java.lang.Object
  extended by net.sf.basedb.core.DynamicReporterQuery.ReporterListJoiner
All Implemented Interfaces:
AutoJoiner<DynamicReporterQuery,ReporterListExpression>
Enclosing class:
DynamicReporterQuery

private static class DynamicReporterQuery.ReporterListJoiner
extends Object
implements AutoJoiner<DynamicReporterQuery,ReporterListExpression>

Auto joiner for reporter lists.

Since:
3.0

Field Summary
private  JoinType joinType
           
 
Constructor Summary
private DynamicReporterQuery.ReporterListJoiner(JoinType joinType)
           
 
Method Summary
 Class<ReporterListExpression> getElementClass()
          The type of the query element the implementation works for.
 Class<DynamicReporterQuery> getQueryClass()
          The type of the query the implementation works for.
 void joinIfNeeded(DynamicReporterQuery query, ReporterListExpression element)
          Automatically join the tables that is is needed by the query element unless they are already joined.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

joinType

private final JoinType joinType
Constructor Detail

DynamicReporterQuery.ReporterListJoiner

private DynamicReporterQuery.ReporterListJoiner(JoinType joinType)
Method Detail

getQueryClass

public Class<DynamicReporterQuery> 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<DynamicReporterQuery,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<DynamicReporterQuery,ReporterListExpression>
Returns:
A class object representing the query element type

joinIfNeeded

public void joinIfNeeded(DynamicReporterQuery 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<DynamicReporterQuery,ReporterListExpression>
Parameters:
query - The query
element - The query element

3.0.1: 2011-11-10