2.17.2: 2011-06-17

net.sf.basedb.core
Class DynamicSpotQueryJoiners.RawDataJoiner

java.lang.Object
  extended by net.sf.basedb.core.DynamicSpotQueryJoiners.RawDataJoiner
All Implemented Interfaces:
AutoJoiner<DynamicSpotQuery,RawDataPropertyExpression>
Enclosing class:
DynamicSpotQueryJoiners

private static class DynamicSpotQueryJoiners.RawDataJoiner
extends Object
implements AutoJoiner<DynamicSpotQuery,RawDataPropertyExpression>

Joiner for raw data.

Version:
2.0
Author:
nicklas
Last modified
$Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $

Field Summary
private  JoinType joinType
           
 
Constructor Summary
private DynamicSpotQueryJoiners.RawDataJoiner(JoinType joinType)
           
 
Method Summary
 Class<RawDataPropertyExpression> 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, RawDataPropertyExpression 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

DynamicSpotQueryJoiners.RawDataJoiner

private DynamicSpotQueryJoiners.RawDataJoiner(JoinType joinType)
Method Detail

getQueryClass

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

getElementClass

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

joinIfNeeded

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

2.17.2: 2011-06-17