All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ibatis.persist.criteria.Order Maven / Gradle / Ivy

Go to download

The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.

The newest version!
package org.ibatis.persist.criteria;

/**
 * An object that defines an ordering over the query results.
 *
 * @since iBatis Persistence 1.0
 */
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 - 2025 Weber Informatics LLC | Privacy Policy