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 String |
alias |
private AnnotationType |
annotationType |
Constructor and Description |
---|
AnnotationExpression(String alias,
AnnotationType annotationType) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias() |
AnnotationType |
getAnnotationType() |
String |
getJoinAlias() |
equals, getChildren, hashCode, toQl, toString
private final String alias
private final AnnotationType annotationType
AnnotationExpression(String alias, AnnotationType annotationType)
public String getAlias()
public AnnotationType getAnnotationType()
public String getJoinAlias()