|
3.2.4: 2013-12-06 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.core.HqlQueryJoiners.AnnotationJoiner
private static class HqlQueryJoiners.AnnotationJoiner
Joiner for annotations.
Field Summary | |
---|---|
private Set<AnnotationType> |
hasJoined
|
private JoinType |
joinType
|
Constructor Summary | |
---|---|
private |
HqlQueryJoiners.AnnotationJoiner(JoinType joinType)
|
Method Summary | |
---|---|
Class<AnnotationExpression> |
getElementClass()
The type of the query element the implementation works for. |
Class<HqlQuery> |
getQueryClass()
The type of the query the implementation works for. |
void |
joinIfNeeded(HqlQuery query,
AnnotationExpression element)
Automatically join the tables that is is needed by the query element unless they are already joined. |
void |
reset(HqlQuery query)
Called to indicate that Query.reset() has been called on the
given query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final JoinType joinType
private final Set<AnnotationType> hasJoined
Constructor Detail |
---|
private HqlQueryJoiners.AnnotationJoiner(JoinType joinType)
Method Detail |
---|
public Class<HqlQuery> getQueryClass()
AutoJoiner
getQueryClass
in interface AutoJoiner<HqlQuery,AnnotationExpression>
public Class<AnnotationExpression> getElementClass()
AutoJoiner
getElementClass
in interface AutoJoiner<HqlQuery,AnnotationExpression>
public void joinIfNeeded(HqlQuery query, AnnotationExpression element)
AutoJoiner
joinIfNeeded
in interface AutoJoiner<HqlQuery,AnnotationExpression>
query
- The queryelement
- The query elementpublic void reset(HqlQuery query)
AutoJoiner
Query.reset()
has been called on the
given query.
reset
in interface AutoJoiner<HqlQuery,AnnotationExpression>
query
- The query
|
3.2.4: 2013-12-06 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |