Package org.meb.speedway.SortOrder

Examples of org.meb.speedway.SortOrder.Direction


        // orderList.add(cb.desc(cb.function("trunc", Path.class,
        // path)));
        // }
        SortOrderItem item = iter.next();
        Path<?> path = root.get(mt.getSingularAttribute(item.getProperty()));
        Direction direction = item.getDirection();
        if (direction == Direction.ASC) {
          orderList.add(cb.asc(path));
        } else if (direction == Direction.DESC) {
          orderList.add(cb.desc(path));
        } else if (direction == Direction.ASC_TRUNC) {
View Full Code Here

TOP

Related Classes of org.meb.speedway.SortOrder.Direction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.