Package io.ebeaninternal.util
Class SortByClause
- java.lang.Object
-
- io.ebeaninternal.util.SortByClause
-
public class SortByClause extends Object
A clause used to describe sorting.Primarily used to support sorting of Lists.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SortByClause.Property
A property of the SortByClause.
-
Constructor Summary
Constructors Constructor Description SortByClause()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(SortByClause.Property p)
Add a property to the sort by clause.List<SortByClause.Property>
getProperties()
Return the properties of the sort by clause.int
size()
Return the number of properties in the clause.
-
-
-
Constructor Detail
-
SortByClause
public SortByClause()
-
-
Method Detail
-
size
public int size()
Return the number of properties in the clause.
-
getProperties
public List<SortByClause.Property> getProperties()
Return the properties of the sort by clause.
-
add
public void add(SortByClause.Property p)
Add a property to the sort by clause.
-
-