Enum Class SortOrder
java.lang.Object
java.lang.Enum<SortOrder>
com.sas.services.information.search.SortOrder
- All Implemented Interfaces:
Serializable,Comparable<SortOrder>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator<PublicObjectInterface> getComparator(SortOrder[] order) static SortOrder[]static SortOrdergetSortOrder(String sortItem) Stringstatic booleanstatic voidsetSortingEnabled(boolean sortingAllowed) static SortOrdervalueOf(String name) Returns the enum constant of this class with the specified name.static SortOrder[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
NAME
-
TYPE
-
DESCRIPTION
-
CREATED_DATE
-
MODIFIED_DATE
-
PATH
-
-
Field Details
-
SORT_BY_NAME
public static final String SORT_BY_NAME -
SORT_BY_TYPE
public static final String SORT_BY_TYPE -
SORT_BY_DESC
public static final String SORT_BY_DESC -
SORT_BY_CREATEDATE
public static final String SORT_BY_CREATEDATE -
SORT_BY_MODIFIEDDATE
public static final String SORT_BY_MODIFIEDDATE -
SORT_BY_PATH
public static final String SORT_BY_PATH
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-
getStringValue
public String getStringValue() -
getDefaultOrder
-
isSortingEnabled
public static boolean isSortingEnabled() -
setSortingEnabled
public static void setSortingEnabled(boolean sortingAllowed) -
getSortOrder
-
getComparator
-