Package net.sf.basedb.core.query
Class AnnotationExpression
- java.lang.Object
-
- net.sf.basedb.core.query.HqlPropertyExpression
-
- 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
ifQuery.getQueryType()
isn'tQueryType.HQL
.- Since:
- 3.2
- Author:
- Nicklas
- See Also:
Annotations.expression(String, AnnotationType)
- Last modified
- $Date$
-
-
Field Summary
Fields Modifier and Type Field Description private String
alias
private AnnotationType
annotationType
-
Constructor Summary
Constructors Constructor Description AnnotationExpression(String alias, AnnotationType annotationType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
AnnotationType
getAnnotationType()
String
getJoinAlias()
-
Methods inherited from class net.sf.basedb.core.query.HqlPropertyExpression
equals, getChildren, hashCode, toQl, toString
-
-
-
-
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()
-
-