javax.persistence.criteria.Order Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa-api Show documentation
Show all versions of jpa-api Show documentation
Hibernate developmental JSR 317 (Java Persistence API 2.0) contracts. Used to
allow incremental implementation of features on the way to full JPA 2.0 support.
The newest version!
// $Id: Order.java 17221 2009-07-30 21:30:58Z [email protected] $
// EJB3 Specification Copyright 2004-2009 Sun Microsystems, Inc.
package javax.persistence.criteria;
/**
* An object that defines an ordering over the query results.
*/
public interface Order {
/**
* Switch the ordering.
* @return a new Order instance with the reversed ordering
*/
Order reverse();
/**
* Whether ascending ordering is in effect.
* @return boolean indicating whether ordering is ascending
*/
boolean isAscending();
/**
* Return the expression that is used for ordering.
* @return expression used for ordering
*/
Expression> getExpression();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy