@Test public void testGetFieldName() { assertEquals("name", orderByNameAsc.getFieldName()); assertEquals("date", orderByDateAsc.getFieldName()); }
@Override public String getFieldName() { return fieldName; }
SortCriterionImpl implements SortCriterion { @Override public String getFieldName() { return fieldName; } }
SortCriterionImpl implements SortCriterion { @Override public String getFieldName() { return fieldName; } SortCriterionImpl(String fieldName, Order order); }
SortCriterionImpl implements SortCriterion { @Override public String getFieldName() { return fieldName; } SortCriterionImpl(String fieldName, Order order); static SortCriterionImpl parse(final String sortCriterion); @Override String getFieldName(); @Override Order getOrder(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
SortCriterionImpl implements SortCriterion { @Override public String getFieldName() { return fieldName; } SortCriterionImpl(String fieldName, Order order); static SortCriterionImpl parse(final String sortCriterion); @Override String getFieldName(); @Override Order getOrder(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }