Enum FMSearchCriteria.SortCriteria
- java.lang.Object
-
- java.lang.Enum<FMSearchCriteria.SortCriteria>
-
- com.adobe.aem.formsndocuments.assets.models.FMSearchCriteria.SortCriteria
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FMSearchCriteria.SortCriteria>
- Enclosing interface:
- FMSearchCriteria
public static enum FMSearchCriteria.SortCriteria extends java.lang.Enum<FMSearchCriteria.SortCriteria>
sort- An enum that indicates whether node are to be sorted in ascending order or descending order based on a property.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FMSearchCriteria.SortCriteria
getEnum(java.lang.String value)
Return enum if given sort order exists (Case Insensitive)java.lang.String
toString()
static FMSearchCriteria.SortCriteria
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FMSearchCriteria.SortCriteria[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASC
public static final FMSearchCriteria.SortCriteria ASC
-
DES
public static final FMSearchCriteria.SortCriteria DES
-
-
Method Detail
-
values
public static FMSearchCriteria.SortCriteria[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FMSearchCriteria.SortCriteria c : FMSearchCriteria.SortCriteria.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FMSearchCriteria.SortCriteria valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FMSearchCriteria.SortCriteria>
-
getEnum
public static FMSearchCriteria.SortCriteria getEnum(java.lang.String value)
Return enum if given sort order exists (Case Insensitive)- Parameters:
value
-- Returns:
-
-