com.mysema.query.types.expr
Class EnumExpression<T extends Enum<T>>
java.lang.Object
com.mysema.query.types.expr.DslExpression<T>
com.mysema.query.types.expr.SimpleExpression<T>
com.mysema.query.types.expr.ComparableExpressionBase<T>
com.mysema.query.types.expr.ComparableExpression<T>
com.mysema.query.types.expr.EnumExpression<T>
- Type Parameters:
T
- expression type
- All Implemented Interfaces:
- Expression<T>, Serializable
- Direct Known Subclasses:
- EnumOperation, EnumPath, EnumTemplate
public abstract class EnumExpression<T extends Enum<T>>
- extends ComparableExpression<T>
EnumExpression represents Enum typed expressions
- Author:
- tiwe
- See Also:
- Serialized Form
Methods inherited from class com.mysema.query.types.expr.ComparableExpression |
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, when, when |
EnumExpression
public EnumExpression(Expression<T> mixin)
as
public EnumExpression<T> as(Path<T> alias)
- Description copied from class:
SimpleExpression
- Create an alias for the expression
- Overrides:
as
in class ComparableExpression<T extends Enum<T>>
- Returns:
as
public EnumExpression<T> as(String alias)
- Description copied from class:
SimpleExpression
- Create an alias for the expression
- Overrides:
as
in class ComparableExpression<T extends Enum<T>>
- Returns:
ordinal
public NumberExpression<Integer> ordinal()
- Returns:
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.