Enum Class Filter.FilterType

java.lang.Object
java.lang.Enum<Filter.FilterType>
org.forgerock.opendj.ldap.Filter.FilterType
All Implemented Interfaces:
Serializable, Comparable<Filter.FilterType>, Constable
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 Details

    • 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 Details

    • values

      public static Filter.FilterType[] 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

      public static Filter.FilterType valueOf(String name)
      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 name
      NullPointerException - if the argument is null