Package org.alfresco.search.model
Enum RequestFacetField.SortEnum
- java.lang.Object
-
- java.lang.Enum<RequestFacetField.SortEnum>
-
- org.alfresco.search.model.RequestFacetField.SortEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RequestFacetField.SortEnum>
- Enclosing class:
- RequestFacetField
public static enum RequestFacetField.SortEnum extends Enum<RequestFacetField.SortEnum>
Gets or Sets sort
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestFacetField.SortEnumfromValue(String text)StringtoString()static RequestFacetField.SortEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RequestFacetField.SortEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final RequestFacetField.SortEnum COUNT
-
INDEX
public static final RequestFacetField.SortEnum INDEX
-
-
Method Detail
-
values
public static RequestFacetField.SortEnum[] 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 (RequestFacetField.SortEnum c : RequestFacetField.SortEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestFacetField.SortEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<RequestFacetField.SortEnum>
-
fromValue
public static RequestFacetField.SortEnum fromValue(String text)
-
-