Package javax.jdo.query
Interface EnumExpression<T>
- Type Parameters:
T
- Enum type
- All Superinterfaces:
ComparableExpression<Enum>
,Expression<Enum>
Representation of an Enum in a query.
-
Method Summary
Modifier and TypeMethodDescriptionordinal()
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 Details
-
ordinal
NumericExpression ordinal()Method to return an expression for the ordinal of this enum.- Returns:
- Expression for the ordinal of the passed enum
-