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
if
Query.getQueryType()
isn't QueryType.HQL
.
- Since:
- 3.2
- Author:
- Nicklas
- See Also:
Annotations.expression(String, AnnotationType)
- Last modified
- $Date$
alias
private final String alias
annotationType
private final AnnotationType annotationType
AnnotationExpression
AnnotationExpression(String alias,
AnnotationType annotationType)
getAlias
public String getAlias()
getAnnotationType
public AnnotationType getAnnotationType()
getJoinAlias
public String getJoinAlias()