Package org.alfresco.search.model
Enum RequestQuery.LanguageEnum
- java.lang.Object
-
- java.lang.Enum<RequestQuery.LanguageEnum>
-
- org.alfresco.search.model.RequestQuery.LanguageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RequestQuery.LanguageEnum>
- Enclosing class:
- RequestQuery
public static enum RequestQuery.LanguageEnum extends Enum<RequestQuery.LanguageEnum>
The query language in which the query is written.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestQuery.LanguageEnumfromValue(String text)StringtoString()static RequestQuery.LanguageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RequestQuery.LanguageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFTS
public static final RequestQuery.LanguageEnum AFTS
-
LUCENE
public static final RequestQuery.LanguageEnum LUCENE
-
CMIS
public static final RequestQuery.LanguageEnum CMIS
-
-
Method Detail
-
values
public static RequestQuery.LanguageEnum[] 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 (RequestQuery.LanguageEnum c : RequestQuery.LanguageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestQuery.LanguageEnum 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<RequestQuery.LanguageEnum>
-
fromValue
public static RequestQuery.LanguageEnum fromValue(String text)
-
-