Package com.oorian.data
Enum Class FilterOperator
- All Implemented Interfaces:
Serializable,Comparable<FilterOperator>,Constable
Filter comparison operators for data provider queries.
- Since:
- 2.1
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionString contains (case-insensitive).String ends with (case-insensitive).Exact equality comparison.Greater than comparison.Greater than or equal comparison.Value is not null.Value is null.Less than comparison.Less than or equal comparison.Not equal comparison.String starts with (case-insensitive). -
Method Summary
Modifier and TypeMethodDescriptionstatic FilterOperatorReturns the enum constant of this class with the specified name.static FilterOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
Exact equality comparison. -
NOT_EQUALS
Not equal comparison. -
CONTAINS
String contains (case-insensitive). -
STARTS_WITH
String starts with (case-insensitive). -
ENDS_WITH
String ends with (case-insensitive). -
GREATER_THAN
Greater than comparison. -
GREATER_THAN_OR_EQUALS
Greater than or equal comparison. -
LESS_THAN
Less than comparison. -
LESS_THAN_OR_EQUALS
Less than or equal comparison. -
IS_NULL
Value is null. -
IS_NOT_NULL
Value is not null.
-
-
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
-