Interface ISortExpression
public interface ISortExpression
This interface represents a configuration for sorting retrieved objects. It contains the configuration for
one attribute. To sort on multiple attributes, use a sequence of
ISortExpression
instances.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Defines the available sort orders. -
Method Summary
Modifier and TypeMethodDescriptionReturns the sort order.Returns the name of the attribute on which the query result must be sorted.
-
Method Details
-
getMemberName
String getMemberName()Returns the name of the attribute on which the query result must be sorted.- Returns:
- the attribute name
-
getDirection
ISortExpression.SortDirection getDirection()Returns the sort order.- Returns:
- the sort order
-