Enum Class Filter.LogicalOperator
- All Implemented Interfaces:
Serializable,Comparable<Filter.LogicalOperator>,Constable
- Enclosing class:
- Filter
A logical operator defines the mechanism by which filters are sequenced together.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed in aFilter.LogicalExpressionto indicate that the logical AND operator should be applied to combine twoFilters.Used in aFilter.LogicalExpressionto indicate that the logical OR operator should be applied to combine twoFilters. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Filter.LogicalOperatorReturns theFilter.LogicalOperatorrepresented by the given, case-insensitive, name.static Filter.LogicalOperatorReturns the enum constant of this class with the specified name.static Filter.LogicalOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AND
Used in aFilter.LogicalExpressionto indicate that the logical AND operator should be applied to combine twoFilters. -
OR
Used in aFilter.LogicalExpressionto indicate that the logical OR operator should be applied to combine twoFilters.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getByName
Returns theFilter.LogicalOperatorrepresented by the given, case-insensitive, name.- Parameters:
attributeOperator- the name of the operator- Returns:
- the operator; or
null, if no operator has the given name
-