public class AnnotationExpression extends HqlPropertyExpression
Throws an UnsupportedOperationException
if
Query.getQueryType()
isn't QueryType.HQL
.
Annotations.expression(String, AnnotationType)
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alias |
private AnnotationType |
annotationType |
Constructor and Description |
---|
AnnotationExpression(java.lang.String alias,
AnnotationType annotationType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias() |
AnnotationType |
getAnnotationType() |
java.lang.String |
getJoinAlias() |
equals, getChildren, hashCode, toQl, toString
private final java.lang.String alias
private final AnnotationType annotationType
AnnotationExpression(java.lang.String alias, AnnotationType annotationType)
public java.lang.String getAlias()
public AnnotationType getAnnotationType()
public java.lang.String getJoinAlias()