Enum FilterOperationType
- java.lang.Object
-
- java.lang.Enum<FilterOperationType>
-
- org.bonitasoft.engine.persistence.search.FilterOperationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FilterOperationType>
public enum FilterOperationType extends java.lang.Enum<FilterOperationType>
- Author:
- Emmanuel Duchastenier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDBETWEENDIFFERENTEQUALSGREATERGREATER_OR_EQUALSL_PARENTHESISLESSLESS_OR_EQUALSLIKEORR_PARENTHESIS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisNormalOperator(FilterOperationType type)static FilterOperationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FilterOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BETWEEN
public static final FilterOperationType BETWEEN
-
EQUALS
public static final FilterOperationType EQUALS
-
LIKE
public static final FilterOperationType LIKE
-
GREATER
public static final FilterOperationType GREATER
-
LESS
public static final FilterOperationType LESS
-
GREATER_OR_EQUALS
public static final FilterOperationType GREATER_OR_EQUALS
-
LESS_OR_EQUALS
public static final FilterOperationType LESS_OR_EQUALS
-
DIFFERENT
public static final FilterOperationType DIFFERENT
-
L_PARENTHESIS
public static final FilterOperationType L_PARENTHESIS
-
R_PARENTHESIS
public static final FilterOperationType R_PARENTHESIS
-
AND
public static final FilterOperationType AND
-
OR
public static final FilterOperationType OR
-
-
Method Detail
-
values
public static FilterOperationType[] 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 (FilterOperationType c : FilterOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterOperationType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isNormalOperator
public static boolean isNormalOperator(FilterOperationType type)
-
-