Package org.forgerock.opendj.ldap.schema
Enum Class MatchingRule.MatchingRuleType
java.lang.Object
java.lang.Enum<MatchingRule.MatchingRuleType>
org.forgerock.opendj.ldap.schema.MatchingRule.MatchingRuleType
- All Implemented Interfaces:
Serializable,Comparable<MatchingRule.MatchingRuleType>,java.lang.constant.Constable
- Enclosing class:
- MatchingRule
Represents the types of matching rules, according to RFC 4517 section 4.1.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA rule suitable for use as the equality matching rule (EQUALITY) of an attribute type.A rule suitable for use as the ordering matching rule (ORDERING) of an attribute type.A rule suitable for use as the substrings matching rule (SUBSTR) of an attribute type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MatchingRule.MatchingRuleType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALITY
A rule suitable for use as the equality matching rule (EQUALITY) of an attribute type. Note that we consider approximate matching rules to be EQUALITY matching rules: although they implement a "fuzzy" type of equality, they are trying to decide if two values are equal. -
ORDERING
A rule suitable for use as the ordering matching rule (ORDERING) of an attribute type. -
SUBSTRING
A rule suitable for use as the substrings matching rule (SUBSTR) of an attribute type.
-
-
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
-