@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface MatchingRuleUse
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToAttribute(AttributeType t)
Indicates whether this matching rule use applies to the provided attribute
type.
|
boolean |
equals(java.lang.Object o)
Indicates whether the provided object is equal to this matching rule use.
|
java.util.Set<AttributeType> |
getAttributes()
Retrieves the set of attributes that are associated with this matching rule
use.
|
java.lang.String |
getDescription()
Retrieves the description for this DIT content rule, if any.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExtensions()
Retrieves a map of all defined extensions for this matching rule use.
|
MatchingRule |
getMatchingRule()
Retrieves the matching rule for this matching rule use.
|
java.util.List<java.lang.String> |
getNames()
Retrieves the list of names for this matching rule use, if any.
|
java.lang.String |
getSchemaFileName()
Retrieves the name of the schema file in which this matching rule use is
defined.
|
int |
hashCode()
Retrieves a hash code for this matching rule use.
|
boolean |
hasName(java.lang.String name)
Indicates whether the provided string is equal to any of the defined names
for this matching rule use.
|
boolean |
isObsolete()
Indicates whether this matching rule use is declared obsolete in the server
schema.
|
java.lang.String |
toString()
Retrieves a string representation of this matching rule use definition.
|
java.util.List<java.lang.String> getNames()
boolean hasName(java.lang.String name)
name
- The name for which to make the determination.true
if the provided string matches one of the names for
this matching rule use, or false
if not.MatchingRule getMatchingRule()
java.lang.String getDescription()
null
if it
does not have a description.java.util.Set<AttributeType> getAttributes()
boolean appliesToAttribute(AttributeType t)
t
- The attribute type for which to make the determination.true
if this matching rule use applies to the provided
attribute type, or false
if not.boolean isObsolete()
true
if this matching rule use is declared obsolete in the
server schema, or false
if not.java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExtensions()
java.lang.String getSchemaFileName()
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object for which to make the determination.true
if the provided object is equal to this matching rule
use, or false
if not.int hashCode()
hashCode
in class java.lang.Object
java.lang.String toString()
toString
in class java.lang.Object