@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface MatchingRule
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object o)Indicates whether the provided object is equal to this matching rule. | 
| java.lang.String | getDescription()Retrieves the description for this matching rule, if any. | 
| java.lang.String | getName()Retrieves the name for this matching rule, if any. | 
| java.lang.String | getNameOrOID()Retrieves the name for this matching rule, or the numeric OID if it does
 not have a name. | 
| java.lang.String | getOID()Retrieves the numeric OID for this matching rule. | 
| java.lang.String | getSyntaxOID()Retrieves the OID of the attribute syntax with which this matching rule is
 most closely associated. | 
| int | hashCode()Retrieves the hash code for this matching rule. | 
| boolean | hasNameOrOID(java.lang.String name)Indicates whether the provided string matches the name or numeric OID for
 this matching rule. | 
| boolean | isObsolete()Indicates whether this matching rule is declared obsolete in the server
 schema. | 
| com.unboundid.util.ByteString | normalizeValue(AttributeType type,
              com.unboundid.util.ByteString value)Retrieves the normalized form of the provided value. | 
| com.unboundid.util.ByteString | normalizeValue(com.unboundid.util.ByteString value)Retrieves the normalized form of the provided value. | 
| java.lang.String | toString()Retrieves a string representation of this matching rule. | 
| ConditionResult | valuesMatch(com.unboundid.util.ByteString normAttributeValue,
           com.unboundid.util.ByteString normAssertionValue)Indicates whether the provided attribute value may be considered logically
 equivalent to the provided assertion value according to the constraints of
 this matching rule.. | 
java.lang.String getOID()
java.lang.String getName()
null if it does not
          have a name.java.lang.String getNameOrOID()
boolean hasNameOrOID(java.lang.String name)
name - The name for which to make the determination.true if the provided string matches the name or numeric
          OID for this matching rule, or false if not.java.lang.String getDescription()
null if it does
          not have a description.java.lang.String getSyntaxOID()
boolean isObsolete()
true if this matching rule is declared obsolete, or
          false if not.com.unboundid.util.ByteString normalizeValue(com.unboundid.util.ByteString value) throws com.unboundid.ldap.sdk.LDAPException
value - The value to be normalized.com.unboundid.ldap.sdk.LDAPException - If an error occurs while attempting to normalize
                         the provided value (e.g., it does not conform to
                         the appropriate syntax).com.unboundid.util.ByteString normalizeValue(AttributeType type, com.unboundid.util.ByteString value) throws com.unboundid.ldap.sdk.LDAPException
type - The associated attribute type.value - The value to be normalized.com.unboundid.ldap.sdk.LDAPException - If an error occurs while attempting to normalize
                         the provided value (e.g., it does not conform to
                         the appropriate syntax).ConditionResult valuesMatch(com.unboundid.util.ByteString normAttributeValue, com.unboundid.util.ByteString normAssertionValue)
normAttributeValue - The normalized form of the attribute value to
                             be compared.normAssertionValue - The normalized form of the assertion value to
                             be compared.TRUE if the values are considered equal,
          FALSE if the values are considered different, or
          UNDEFINED if the result is not defined for this matching
          rule.int hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object for which to make the determination.true if the provided object is equal to this matching
          rule, or false if not.java.lang.String toString()
toString in class java.lang.Object