Class Order

java.lang.Object
overit.geocall.model.sorting.Order

public final class Order extends Object
The Order class represents an SQL order clause builder. It allows building an SQL order clause based on a raw order dto based string, a target class, and additional mappings.
To ordering the user response dto for a DABase, you could use this class in this way: Order o = new Order.Builder().of("+id",BOUser.class).build();
and then using o.toSqlClause(new JDBCOrderStatementGenerator()); the result will be "AUSEID ASC"
To ordering the user response dto for a DAO, you could use this class in this way: Order o = new Order.Builder().of("-id",BOUser.class).build();
and then using o.toSqlClause(new DAOOrderStatementGenerator()); the result will be "!AUSEID"