Enum SearchOperation
- java.lang.Object
-
- java.lang.Enum<SearchOperation>
-
- org.activiti.cloud.services.audit.jpa.repository.SearchOperation
-
- All Implemented Interfaces:
Serializable,Comparable<SearchOperation>
public enum SearchOperation extends Enum<SearchOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINSENDS_WITHEQUALITYGREATER_THANLESS_THANLIKENEGATIONSTARTS_WITH
-
Field Summary
Fields Modifier and Type Field Description static StringAND_OPERATORstatic StringLEFT_PARANTHESISstatic StringOR_OPERATORstatic StringOR_PREDICATE_FLAGstatic StringRIGHT_PARANTHESISstatic String[]SIMPLE_OPERATION_SETstatic StringZERO_OR_MORE_REGEX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchOperationgetSimpleOperation(char input)static SearchOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALITY
public static final SearchOperation EQUALITY
-
NEGATION
public static final SearchOperation NEGATION
-
GREATER_THAN
public static final SearchOperation GREATER_THAN
-
LESS_THAN
public static final SearchOperation LESS_THAN
-
LIKE
public static final SearchOperation LIKE
-
STARTS_WITH
public static final SearchOperation STARTS_WITH
-
ENDS_WITH
public static final SearchOperation ENDS_WITH
-
CONTAINS
public static final SearchOperation CONTAINS
-
-
Field Detail
-
SIMPLE_OPERATION_SET
public static final String[] SIMPLE_OPERATION_SET
-
OR_PREDICATE_FLAG
public static final String OR_PREDICATE_FLAG
- See Also:
- Constant Field Values
-
ZERO_OR_MORE_REGEX
public static final String ZERO_OR_MORE_REGEX
- See Also:
- Constant Field Values
-
OR_OPERATOR
public static final String OR_OPERATOR
- See Also:
- Constant Field Values
-
AND_OPERATOR
public static final String AND_OPERATOR
- See Also:
- Constant Field Values
-
LEFT_PARANTHESIS
public static final String LEFT_PARANTHESIS
- See Also:
- Constant Field Values
-
RIGHT_PARANTHESIS
public static final String RIGHT_PARANTHESIS
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SearchOperation[] 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 (SearchOperation c : SearchOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchOperation 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
-
getSimpleOperation
public static SearchOperation getSimpleOperation(char input)
-
-