net.sf.basedb.core
Class DynamicPositionQueryJoiners.ExtraValueJoiner
java.lang.Object
net.sf.basedb.core.DynamicPositionQueryJoiners.ExtraValueJoiner
- All Implemented Interfaces:
- AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
- Enclosing class:
- DynamicPositionQueryJoiners
private static class DynamicPositionQueryJoiners.ExtraValueJoiner
- extends Object
- implements AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
Joiner for extra values.
- Version:
- 2.12
- Author:
- nicklas
- Last modified
- $Date: 2009-05-13 13:01:46 +0200 (Wed, 13 May 2009) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
joinType
private final JoinType joinType
DynamicPositionQueryJoiners.ExtraValueJoiner
private DynamicPositionQueryJoiners.ExtraValueJoiner(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,ExtraValueExpression>
- Returns:
- A class object representing the query type
getElementClass
public Class<ExtraValueExpression> 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,ExtraValueExpression>
- Returns:
- A class object representing the query element type
joinIfNeeded
public void joinIfNeeded(DynamicPositionQuery query,
ExtraValueExpression 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,ExtraValueExpression>
- Parameters:
query
- The queryelement
- The query element