Enum Class Filter.FilterType
- All Implemented Interfaces:
Serializable, Comparable<Filter.FilterType>, Constable
- Enclosing class:
Filter
This enumeration defines the set of possible filter types that may be used for search filters. This is based on
the LDAP specification defined in RFC 2251.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe filter type for AND filters.The filter type for approximate filters.The filter type for equality filters.The filter type for extensible matching filters.The filter type for greater or equal filters.The filter type for less or equal filters.The filter type for NOT filters.The filter type for OR filters.The filter type for presence filters.The filter type for substring filters.The filter type for unrecognized filter types. -
Method Summary
Modifier and TypeMethodDescriptionstatic Filter.FilterTypeReturns the enum constant of this class with the specified name.static Filter.FilterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALITY
The filter type for equality filters. -
APPROXIMATE
The filter type for approximate filters. -
EXTENSIBLE
The filter type for extensible matching filters. -
SUBSTRINGS
The filter type for substring filters. -
GREATER_OR_EQUAL
The filter type for greater or equal filters. -
LESS_OR_EQUAL
The filter type for less or equal filters. -
PRESENT
The filter type for presence filters. -
AND
The filter type for AND filters. -
OR
The filter type for OR filters. -
NOT
The filter type for NOT filters. -
UNRECOGNIZED
The filter type for unrecognized filter types.
-
-
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
-