Package org.alfresco.search.model
Enum RequestSortDefinitionInner.TypeEnum
- java.lang.Object
-
- java.lang.Enum<RequestSortDefinitionInner.TypeEnum>
-
- org.alfresco.search.model.RequestSortDefinitionInner.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RequestSortDefinitionInner.TypeEnum>
- Enclosing class:
- RequestSortDefinitionInner
public static enum RequestSortDefinitionInner.TypeEnum extends Enum<RequestSortDefinitionInner.TypeEnum>
How to order - using a field, when position of the document in the index, score/relevence.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestSortDefinitionInner.TypeEnumfromValue(String text)StringtoString()static RequestSortDefinitionInner.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RequestSortDefinitionInner.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD
public static final RequestSortDefinitionInner.TypeEnum FIELD
-
DOCUMENT
public static final RequestSortDefinitionInner.TypeEnum DOCUMENT
-
SCORE
public static final RequestSortDefinitionInner.TypeEnum SCORE
-
-
Method Detail
-
values
public static RequestSortDefinitionInner.TypeEnum[] 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 (RequestSortDefinitionInner.TypeEnum c : RequestSortDefinitionInner.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestSortDefinitionInner.TypeEnum 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<RequestSortDefinitionInner.TypeEnum>
-
fromValue
public static RequestSortDefinitionInner.TypeEnum fromValue(String text)
-
-