private void processOrdering(List<Ordering> orderings) { for (Ordering ordering : orderings) { String attributeName = ordering.getAttribute().getAttributeName(); if (Direction.DESCENDING.equals(ordering.getDirection())) { attributeDescending(attributeName); } else { attributeAscending(attributeName); } } }
private void processOrdering(List<Ordering> orderings) { for (Ordering ordering : orderings) { String attributeName = ordering.getAttribute().getAttributeName(); if (Direction.DESCENDING.equals(ordering.getDirection())) { attributeDescending(attributeName); } else { attributeAscending(attributeName); } } }
private void processOrdering(List<Ordering> orderings) { for (Ordering ordering : orderings) { String attributeName = ordering.getAttribute().getAttributeName(); if (Direction.DESCENDING.equals(ordering.getDirection())) { attributeDescending(attributeName); } else { attributeAscending(attributeName); } } }
private void processOrdering(List<Ordering> orderings) { for (Ordering ordering : orderings) { String attributeName = ordering.getAttribute().getAttributeName(); if (Direction.DESCENDING.equals(ordering.getDirection())) { attributeDescending(attributeName); } else { attributeAscending(attributeName); } } }