Enum Class ISortExpression.SortDirection
java.lang.Object
java.lang.Enum<ISortExpression.SortDirection>
com.mendix.systemwideinterfaces.connectionbus.requests.ISortExpression.SortDirection
- All Implemented Interfaces:
- Serializable,- Comparable<ISortExpression.SortDirection>,- Constable
- Enclosing interface:
- ISortExpression
Defines the available sort orders.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionParses a string to a SortDirection enumeration value.Returns the enum constant of this class with the specified name.static ISortExpression.SortDirection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ASCSorts ascending.
- 
DESCSorts descending.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
parseParses a string to a SortDirection enumeration value. The strings 'asc' or 'ascending' will be parsed to ASC. The strings 'desc' or 'descending' will be parsed to DESC. The string will be parsed case-insensitive. If parsing fails, ASC is returned.- Parameters:
- direction- the string to parse
- Returns:
- the sort direction
 
 
-