public class OrderImpl extends Object implements Order, Serializable
| Constructor and Description |
|---|
OrderImpl(Expression<?> expression) |
OrderImpl(Expression<?> expression,
boolean ascending) |
| Modifier and Type | Method and Description |
|---|---|
Expression<?> |
getExpression()
Return the expression that is used for ordering.
|
boolean |
isAscending()
Whether ascending ordering is in effect.
|
Order |
reverse()
Switch the ordering.
|
public OrderImpl(Expression<?> expression)
public OrderImpl(Expression<?> expression, boolean ascending)
public boolean isAscending()
OrderisAscending in interface Orderpublic Expression<?> getExpression()
OrdergetExpression in interface OrderCopyright © 2018 JBoss by Red Hat. All rights reserved.