
dk.eobjects.metamodel.query.OrderByClause Maven / Gradle / Ivy
/**
* This file is part of MetaModel.
*
* MetaModel is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MetaModel is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MetaModel. If not, see .
*/
package dk.eobjects.metamodel.query;
/**
* Represents the ORDER BY clause of a query containing OrderByItem's. The order
* and direction of the OrderItems define the way that the result of a query
* will be sorted.
*
* @see OrderByItem
*/
public class OrderByClause extends QueryClause {
private static final long serialVersionUID = 2441926135870143715L;
public OrderByClause(Query query) {
super(query, QueryClause.PREFIX_ORDER_BY, QueryClause.DELIM_COMMA);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy