3.2.4: 2013-12-06

net.sf.basedb.core.query
Class AnnotationExpression

java.lang.Object
  extended by net.sf.basedb.core.query.HqlPropertyExpression
      extended by net.sf.basedb.core.query.AnnotationExpression
All Implemented Interfaces:
Expression, QueryElement

public class AnnotationExpression
extends HqlPropertyExpression

An expression representing the value of an annotation.

Throws an UnsupportedOperationException if Query.getQueryType() isn't QueryType.HQL.

Since:
3.2
Author:
Nicklas
See Also:
Annotations.expression(String, AnnotationType)
Last modified
$Date$

Field Summary
private  String alias
           
private  AnnotationType annotationType
           
 
Constructor Summary
AnnotationExpression(String alias, AnnotationType annotationType)
           
 
Method Summary
 String getAlias()
           
 AnnotationType getAnnotationType()
           
 String getJoinAlias()
           
 
Methods inherited from class net.sf.basedb.core.query.HqlPropertyExpression
equals, getChildren, hashCode, toQl, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

alias

private final String alias

annotationType

private final AnnotationType annotationType
Constructor Detail

AnnotationExpression

AnnotationExpression(String alias,
                     AnnotationType annotationType)
Method Detail

getAlias

public String getAlias()

getAnnotationType

public AnnotationType getAnnotationType()

getJoinAlias

public String getJoinAlias()

3.2.4: 2013-12-06