Interface ISortExpression
-
public interface ISortExpressionThis interface represents a configuration for sorting retrieved objects. It contains the configuration for one attribute. To sort on multiple attributes, use a sequence ofISortExpressioninstances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classISortExpression.SortDirectionDefines the available sort orders.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISortExpression.SortDirectiongetDirection()Returns the sort order.java.lang.StringgetMemberName()Returns the name of the attribute on which the query result must be sorted.
-
-
-
Method Detail
-
getMemberName
java.lang.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
-
-