| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
| org.apache.directory.api.ldap.model.schema.parsers | |
| org.apache.directory.api.ldap.model.schema.registries | |
| org.apache.directory.api.ldap.model.schema.registries.helper |
| Modifier and Type | Class and Description |
|---|---|
class |
MutableMatchingRule
A matchingRule definition.
|
| Modifier and Type | Field and Description |
|---|---|
protected MatchingRule |
AttributeType.equality
The equality MatchingRule associated with the equalityID
|
protected MatchingRule |
AttributeType.ordering
The ordering MatchingRule associated with the orderingID
|
protected MatchingRule |
AttributeType.substring
The substring MatchingRule associated with the substringID
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRule |
MatchingRule.copy()
Copy an MatchingRule
|
MatchingRule |
AttributeType.getEquality()
Gets the MatchingRule for this AttributeType used for equality matching.
|
MatchingRule |
AttributeType.getOrdering()
Gets the MatchingRule for this AttributeType used for Ordering matching.
|
MatchingRule |
AttributeType.getSubstring()
Gets the MatchingRule for this AttributeType used for Substr matching.
|
MatchingRule |
SchemaManager.lookupMatchingRuleRegistry(String oid)
Lookup for a MatchingRule in the MatchingRule registry
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
AttributesFactory.convert(MatchingRule matchingRule,
Schema schema,
SchemaManager schemaManager) |
String |
SchemaObjectRenderer.render(MatchingRule mr)
Renders an matchingRule according to the
MatchingRule Description Syntax 1.3.6.1.4.1.1466.115.121.1.30.
|
void |
MutableAttributeType.setEquality(MatchingRule equality)
Sets the Equality MR for this AttributeType
|
void |
MutableAttributeType.setOrdering(MatchingRule ordering)
Sets the Ordering MR for this AttributeType
|
void |
MutableAttributeType.setSubstring(MatchingRule substring)
Sets the Substr MR for this AttributeType
|
void |
MutableAttributeType.updateEquality(MatchingRule newEquality)
Update the associated Equality MatchingRule, even if the SchemaObject is readOnly
|
void |
MutableAttributeType.updateOrdering(MatchingRule newOrdering)
Update the associated Ordering MatchingRule, even if the SchemaObject is readOnly
|
void |
MutableAttributeType.updateSubstring(MatchingRule newSubstring)
Update the associated Substring MatchingRule, even if the SchemaObject is readOnly
|
| Modifier and Type | Method and Description |
|---|---|
protected MatchingRule |
MatchingRuleDescriptionSchemaParser.doParse()
Parse a SchemaObject description and returns back an instance of SchemaObject.
|
MatchingRule |
MatchingRuleDescriptionSchemaParser.parseMatchingRuleDescription(String matchingRuleDescription)
Parses a matching rule description according to RFC 4512:
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ParserDescriptionUtils.matchingRulesMatch(MatchingRule matchingRule0,
MatchingRule matchingRule1)
Checks to see if two matchingRule match exactly.
|
| Modifier and Type | Method and Description |
|---|---|
MatchingRule |
ImmutableMatchingRuleRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
MatchingRule |
ImmutableMatchingRuleRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
MatchingRule |
ImmutableMatchingRuleRegistry.unregister(MatchingRule schemaObject)
Removes the SchemaObject registered with this registry.
|
MatchingRule |
ImmutableMatchingRuleRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<MatchingRule> |
ImmutableMatchingRuleRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Registries.delCrossReferences(MatchingRule matchingRule)
Delete the MR references (using and usedBy) :
MR -> C
MR -> N
MR -> S
|
void |
ImmutableMatchingRuleRegistry.register(MatchingRule schemaObject)
Registers a new SchemaObject with this registry.
|
MatchingRule |
ImmutableMatchingRuleRegistry.unregister(MatchingRule schemaObject)
Removes the SchemaObject registered with this registry.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MatchingRuleHelper.removeFromRegistries(MatchingRule matchingRule,
List<Throwable> errors,
Registries registries)
Remove the MatchingRule from the Registries, updating the references to
other SchemaObject.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.