Package org.alfresco.search.model
Enum RequestDefaults.DefaultFTSOperatorEnum
- java.lang.Object
-
- java.lang.Enum<RequestDefaults.DefaultFTSOperatorEnum>
-
- org.alfresco.search.model.RequestDefaults.DefaultFTSOperatorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RequestDefaults.DefaultFTSOperatorEnum>
- Enclosing class:
- RequestDefaults
public static enum RequestDefaults.DefaultFTSOperatorEnum extends Enum<RequestDefaults.DefaultFTSOperatorEnum>
The default way to combine query parts when AND or OR is not explicitly stated - includes ! - + one two three (one two three)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestDefaults.DefaultFTSOperatorEnumfromValue(String text)StringtoString()static RequestDefaults.DefaultFTSOperatorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RequestDefaults.DefaultFTSOperatorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final RequestDefaults.DefaultFTSOperatorEnum AND
-
OR
public static final RequestDefaults.DefaultFTSOperatorEnum OR
-
-
Method Detail
-
values
public static RequestDefaults.DefaultFTSOperatorEnum[] 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 (RequestDefaults.DefaultFTSOperatorEnum c : RequestDefaults.DefaultFTSOperatorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestDefaults.DefaultFTSOperatorEnum 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<RequestDefaults.DefaultFTSOperatorEnum>
-
fromValue
public static RequestDefaults.DefaultFTSOperatorEnum fromValue(String text)
-
-