Package javax.persistence.criteria
Interface Order
- 
 public interface OrderAn object that defines an ordering over the query results.- Since:
- 2.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression<?>getExpression()Return the expression that is used for ordering.booleanisAscending()Whether ascending ordering is in effect.Orderreverse()Switch the ordering.
 
- 
- 
- 
Method Detail- 
reverseOrder reverse() Switch the ordering.- Returns:
- a new Orderinstance with the reversed ordering
 
 - 
isAscendingboolean isAscending() Whether ascending ordering is in effect.- Returns:
- boolean indicating whether ordering is ascending
 
 - 
getExpressionExpression<?> getExpression() Return the expression that is used for ordering.- Returns:
- expression used for ordering
 
 
- 
 
-