Package javax.jdo.query
Interface EnumExpression<T>
-
- Type Parameters:
T
- Enum type
- All Superinterfaces:
ComparableExpression<Enum>
,Expression<Enum>
public interface EnumExpression<T> extends ComparableExpression<Enum>
Representation of an Enum in a query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NumericExpression
ordinal()
Method to return an expression for the ordinal of this enum.-
Methods inherited from interface javax.jdo.query.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
-
Methods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
-
-
-
Method Detail
-
ordinal
NumericExpression ordinal()
Method to return an expression for the ordinal of this enum.- Returns:
- Expression for the ordinal of the passed enum
-
-