public class OrderImpl extends Object implements javax.persistence.criteria.Order
Constructor and Description |
---|
OrderImpl(javax.persistence.criteria.Expression<?> expr,
boolean asc)
Constructor for an Order.
|
Modifier and Type | Method and Description |
---|---|
javax.persistence.criteria.Expression<?> |
getExpression() |
org.datanucleus.query.expression.OrderExpression |
getQueryExpression()
Method to return the underlying DataNucleus query expression that this equates to.
|
boolean |
isAscending() |
javax.persistence.criteria.Order |
reverse() |
String |
toString()
Method to return the JPQL single-string that this equates to.
|
public OrderImpl(javax.persistence.criteria.Expression<?> expr, boolean asc)
expr
- The expressionasc
- Whether it is ascendingpublic javax.persistence.criteria.Expression<?> getExpression()
getExpression
in interface javax.persistence.criteria.Order
public boolean isAscending()
isAscending
in interface javax.persistence.criteria.Order
public javax.persistence.criteria.Order reverse()
reverse
in interface javax.persistence.criteria.Order
public org.datanucleus.query.expression.OrderExpression getQueryExpression()
Copyright © 2015. All rights reserved.