| 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 | |
| org.apache.directory.api.ldap.model.schema.syntaxes | |
| org.apache.directory.api.ldap.model.subtree | |
| org.apache.directory.api.ldap.schema.loader | |
| org.apache.directory.api.ldap.schema.manager.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
MutableObjectClass
An objectClass definition.
|
| Modifier and Type | Field and Description |
|---|---|
private ObjectClass |
NameForm.structuralObjectClass
The structural object class this rule applies to
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ObjectClass> |
DitContentRule.auxObjectClasses
The list of Auxiliary ObjectClass entries may belong to
|
protected java.util.List<ObjectClass> |
ObjectClass.superiors
The ObjectClass superiors
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
ObjectClass.copy()
Copy an ObjectClass
|
ObjectClass |
NameForm.getStructuralObjectClass()
Gets the STRUCTURAL ObjectClass this name form specifies naming
attributes for.
|
ObjectClass |
SchemaManager.lookupObjectClassRegistry(java.lang.String oid)
Lookup for a ObjectClass in the ObjectClass registry
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ObjectClass> |
DitContentRule.getAuxObjectClasses() |
java.util.List<ObjectClass> |
ObjectClass.getSuperiors()
Gets the superclasses of this ObjectClass.
|
static java.lang.Iterable<ObjectClass> |
SchemaObjectSorter.sortObjectClasses(java.util.List<ObjectClass> objectClasses)
Gets an hierarchical ordered
Iterable of the given ObjectClasses. |
| Modifier and Type | Method and Description |
|---|---|
void |
DitContentRule.addAuxObjectClasses(ObjectClass objectClass)
Add an Auxiliary ObjectClass
|
Entry |
AttributesFactory.convert(ObjectClass objectClass,
Schema schema,
SchemaManager schemaManager)
Creates the attributes of an entry representing an objectClass.
|
java.lang.String |
SchemaObjectRenderer.render(ObjectClass oc)
Renders an objectClass according to the Object Class
Description Syntax 1.3.6.1.4.1.1466.115.121.1.37.
|
static java.lang.StringBuffer |
SchemaUtils.render(ObjectClass[] ocs)
Renders a list of object classes for things like a list of superior
objectClasses using the ( oid $ oid ) format.
|
static java.lang.StringBuffer |
SchemaUtils.render(java.lang.StringBuffer buf,
ObjectClass[] ocs)
Renders a list of object classes for things like a list of superior
objectClasses using the ( oid $ oid ) format into an existing buffer.
|
void |
NameForm.setStructuralObjectClass(ObjectClass structuralObjectClass)
Sets the structural object class this rule applies to
|
| Modifier and Type | Method and Description |
|---|---|
void |
DitContentRule.setAuxObjectClasses(java.util.List<ObjectClass> auxObjectClasses) |
void |
MutableObjectClass.setSuperiors(java.util.List<ObjectClass> superiors)
Sets the superior object classes
|
static java.lang.Iterable<ObjectClass> |
SchemaObjectSorter.sortObjectClasses(java.util.List<ObjectClass> objectClasses)
Gets an hierarchical ordered
Iterable of the given ObjectClasses. |
void |
MutableObjectClass.updateSuperiors(java.util.List<ObjectClass> superiors)
Update the associated SUPERIORS ObjectClasses, even if the SchemaObject is readOnly
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ObjectClass> |
OpenLdapSchemaParser.objectClasses
The list of object classes, initialized by splitParsedSchemaDescriptions()
|
| Modifier and Type | Method and Description |
|---|---|
protected ObjectClass |
ObjectClassDescriptionSchemaParser.doParse()
Parse a SchemaObject description and returns back an instance of SchemaObject.
|
ObjectClass |
ObjectClassDescriptionSchemaParser.parseObjectClassDescription(java.lang.String objectClassDescription)
Parses a object class definition according to RFC 4512:
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ObjectClass> |
OpenLdapSchemaParser.getObjectClassTypes()
Gets the object class types.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ParserDescriptionUtils.objectClassesMatch(ObjectClass oc0,
ObjectClass oc1)
Checks two schema objectClasses for an exact match.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.util.Set<ObjectClass>> |
DefaultObjectClassRegistry.oidToDescendants
maps OIDs to a Set of descendants for that OID
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
ImmutableObjectClassRegistry.get(java.lang.String oid)
Gets the SchemaObject associated with a given OID.
|
ObjectClass |
ImmutableObjectClassRegistry.lookup(java.lang.String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
ObjectClass |
ImmutableObjectClassRegistry.unregister(ObjectClass schemaObject)
Removes the SchemaObject registered with this registry.
|
ObjectClass |
ObjectClassRegistry.unregister(java.lang.String numericOid)
Removes the ObjectClass registered with this registry.
|
ObjectClass |
DefaultObjectClassRegistry.unregister(java.lang.String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
ObjectClass |
ImmutableObjectClassRegistry.unregister(java.lang.String numericOid)
Removes the ObjectClass registered with this registry.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<ObjectClass> |
ObjectClassRegistry.descendants(java.lang.String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
java.util.Iterator<ObjectClass> |
DefaultObjectClassRegistry.descendants(java.lang.String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
java.util.Iterator<ObjectClass> |
ImmutableObjectClassRegistry.descendants(java.lang.String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
java.util.Iterator<ObjectClass> |
ImmutableObjectClassRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<AttributeType> |
Registries.getMustRecursive(java.util.List<AttributeType> musts,
java.util.Set<ObjectClass> processed,
ObjectClass objectClass) |
void |
ObjectClassRegistry.register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.
|
void |
ImmutableObjectClassRegistry.register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.
|
void |
ObjectClassRegistry.registerDescendants(ObjectClass objectClass,
java.util.List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.registerDescendants(ObjectClass objectClass,
java.util.List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.registerDescendants(ObjectClass objectClass,
java.util.List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
private void |
Registries.resolve(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors) |
private void |
Registries.resolveRecursive(ObjectClass objectClass,
java.util.Set<java.lang.String> processed,
java.util.List<java.lang.Throwable> errors) |
ObjectClass |
ImmutableObjectClassRegistry.unregister(ObjectClass schemaObject)
Removes the SchemaObject registered with this registry.
|
void |
ObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
java.util.List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
java.util.List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
java.util.List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<AttributeType> |
Registries.getMustRecursive(java.util.List<AttributeType> musts,
java.util.Set<ObjectClass> processed,
ObjectClass objectClass) |
void |
ObjectClassRegistry.registerDescendants(ObjectClass objectClass,
java.util.List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.registerDescendants(ObjectClass objectClass,
java.util.List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.registerDescendants(ObjectClass objectClass,
java.util.List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
java.util.List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
java.util.List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
java.util.List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ObjectClassHelper.addToRegistries(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
private static void |
ObjectClassHelper.buildMay(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build and check the MAY AT for this ObjectClass
|
private static void |
ObjectClassHelper.buildMust(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build and check the MUST AT for this ObjectClass.
|
private static void |
ObjectClassHelper.buildSuperiors(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Build the references to this ObjectClass SUPERIORS, checking that the type
hierarchy is correct.
|
static void |
ObjectClassHelper.removeFromRegistries(ObjectClass objectClass,
java.util.List<java.lang.Throwable> errors,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
AntlrSchemaParser.openLdapObjectClass() |
| Modifier and Type | Field and Description |
|---|---|
private ObjectClass |
ItemRefinement.item
The item
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
ItemRefinement.getItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemRefinement.setItem(ObjectClass item) |
| Constructor and Description |
|---|
ItemRefinement(ObjectClass item)
Creates a new instance of ItemRefinement.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
EntityFactory.getObjectClass(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName) |
ObjectClass |
SchemaEntityFactory.getObjectClass(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
java.lang.String schemaName) |
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
DefaultSchemaManager.lookupObjectClassRegistry(java.lang.String oid)
Lookup for a ObjectClass in the ObjectClass registry
|