Package org.forgerock.opendj.ldap
Enum Filter.FilterType
- java.lang.Object
-
- java.lang.Enum<Filter.FilterType>
-
- org.forgerock.opendj.ldap.Filter.FilterType
-
- All Implemented Interfaces:
Serializable
,Comparable<Filter.FilterType>
- Enclosing class:
- Filter
public static enum Filter.FilterType extends Enum<Filter.FilterType>
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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
The filter type for AND filters.APPROXIMATE
The filter type for approximate filters.EQUALITY
The filter type for equality filters.EXTENSIBLE
The filter type for extensible matching filters.GREATER_OR_EQUAL
The filter type for greater or equal filters.LESS_OR_EQUAL
The filter type for less or equal filters.NOT
The filter type for NOT filters.OR
The filter type for OR filters.PRESENT
The filter type for presence filters.SUBSTRINGS
The filter type for substring filters.UNRECOGNIZED
The filter type for unrecognized filter types.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Filter.FilterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Filter.FilterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALITY
public static final Filter.FilterType EQUALITY
The filter type for equality filters.
-
APPROXIMATE
public static final Filter.FilterType APPROXIMATE
The filter type for approximate filters.
-
EXTENSIBLE
public static final Filter.FilterType EXTENSIBLE
The filter type for extensible matching filters.
-
SUBSTRINGS
public static final Filter.FilterType SUBSTRINGS
The filter type for substring filters.
-
GREATER_OR_EQUAL
public static final Filter.FilterType GREATER_OR_EQUAL
The filter type for greater or equal filters.
-
LESS_OR_EQUAL
public static final Filter.FilterType LESS_OR_EQUAL
The filter type for less or equal filters.
-
PRESENT
public static final Filter.FilterType PRESENT
The filter type for presence filters.
-
AND
public static final Filter.FilterType AND
The filter type for AND filters.
-
OR
public static final Filter.FilterType OR
The filter type for OR filters.
-
NOT
public static final Filter.FilterType NOT
The filter type for NOT filters.
-
UNRECOGNIZED
public static final Filter.FilterType UNRECOGNIZED
The filter type for unrecognized filter types.
-
-
Method Detail
-
values
public static Filter.FilterType[] 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 (Filter.FilterType c : Filter.FilterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Filter.FilterType 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
-
-