org.datanucleus.query.typesafe
Interface EnumExpression<T>

Type Parameters:
T - Enum type
All Superinterfaces:
ComparableExpression<java.lang.Enum>, Expression<java.lang.Enum>
All Known Implementing Classes:
EnumExpressionImpl

public interface EnumExpression<T>
extends ComparableExpression<java.lang.Enum>

Representation of an Enum in a query.


Method Summary
 NumericExpression ordinal()
          Method to return an expression for the ordinal of this enum.
 
Methods inherited from interface org.datanucleus.query.typesafe.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
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


Copyright © 2011. All Rights Reserved.