| 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.subtree |
| 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 List<ObjectClass> |
DitContentRule.auxObjectClasses
The list of Auxiliary ObjectClass entries may belong to
|
protected 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(String oid)
Lookup for a ObjectClass in the ObjectClass registry
|
| Modifier and Type | Method and Description |
|---|---|
List<ObjectClass> |
DitContentRule.getAuxObjectClasses() |
List<ObjectClass> |
ObjectClass.getSuperiors()
Gets the superclasses of this ObjectClass.
|
static Iterable<ObjectClass> |
SchemaObjectSorter.sortObjectClasses(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
|
void |
ObjectClass.addSuperior(ObjectClass... objectClasses)
Add some superior ObjectClasses
|
Entry |
AttributesFactory.convert(ObjectClass objectClass,
Schema schema,
SchemaManager schemaManager)
Creates the attributes of an entry representing an objectClass.
|
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 StringBuilder |
SchemaUtils.render(ObjectClass[] ocs)
Renders a list of object classes for things like a list of superior
objectClasses using the ( oid $ oid ) format.
|
static StringBuilder |
SchemaUtils.render(StringBuilder 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(List<ObjectClass> auxObjectClasses) |
void |
ObjectClass.setSuperiors(List<ObjectClass> superiors)
Sets the superior object classes
|
static Iterable<ObjectClass> |
SchemaObjectSorter.sortObjectClasses(List<ObjectClass> objectClasses)
Gets an hierarchical ordered
Iterable of the given ObjectClasses. |
| Modifier and Type | Field and Description |
|---|---|
private List<ObjectClass> |
OpenLdapSchemaParser.objectClasses
The list of object classes, initialized by splitParsedSchemaDescriptions()
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
ObjectClassDescriptionSchemaParser.parse(String objectClassDescription)
Parses a object class definition according to RFC 4512:
|
ObjectClass |
OpenLdapSchemaParser.parseObjectClass(String objectClassDescription)
Production for matching ObjectClass descriptions.
|
private static ObjectClass |
OpenLdapSchemaParser.parseObjectClassRelaxed(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching ObjectClass descriptions.
|
private static ObjectClass |
OpenLdapSchemaParser.parseObjectClassStrict(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching ObjectClass descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
List<ObjectClass> |
OpenLdapSchemaParser.getObjectClasses()
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 Map<String,Set<ObjectClass>> |
DefaultObjectClassRegistry.oidToDescendants
maps OIDs to a Set of descendants for that OID
|
| Modifier and Type | Method and Description |
|---|---|
ObjectClass |
ImmutableObjectClassRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
ObjectClass |
ImmutableObjectClassRegistry.lookup(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 |
ImmutableObjectClassRegistry.unregister(String numericOid)
Removes the ObjectClass registered with this registry.
|
ObjectClass |
ObjectClassRegistry.unregister(String numericOid)
Removes the ObjectClass registered with this registry.
|
ObjectClass |
DefaultObjectClassRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ObjectClass> |
ImmutableObjectClassRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
Iterator<ObjectClass> |
ObjectClassRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
Iterator<ObjectClass> |
DefaultObjectClassRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant ObjectClasses for
some ancestor's name alias or their OID.
|
Iterator<ObjectClass> |
ImmutableObjectClassRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
private List<AttributeType> |
Registries.getMustRecursive(List<AttributeType> musts,
Set<ObjectClass> processed,
ObjectClass objectClass) |
void |
ImmutableObjectClassRegistry.register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.
|
void |
ObjectClassRegistry.register(ObjectClass objectClass)
Registers a new ObjectClass with this registry.
|
void |
ImmutableObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
private void |
Registries.resolve(ObjectClass objectClass) |
private void |
Registries.resolveRecursive(ObjectClass objectClass,
Set<String> processed) |
ObjectClass |
ImmutableObjectClassRegistry.unregister(ObjectClass schemaObject)
Removes the SchemaObject registered with this registry.
|
void |
ImmutableObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
ObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
| Modifier and Type | Method and Description |
|---|---|
private List<AttributeType> |
Registries.getMustRecursive(List<AttributeType> musts,
Set<ObjectClass> processed,
ObjectClass objectClass) |
void |
ImmutableObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.registerDescendants(ObjectClass objectClass,
List<ObjectClass> ancestors)
Store the ObjectClass into a map associating an ObjectClass to its
descendants.
|
void |
ImmutableObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
ObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
List<ObjectClass> ancestors)
Remove the ObjectClass from the map associating an ObjectClass to its
descendants.
|
void |
DefaultObjectClassRegistry.unregisterDescendants(ObjectClass attributeType,
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,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
private static void |
ObjectClassHelper.buildMay(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Build and check the MAY AT for this ObjectClass
|
private static void |
ObjectClassHelper.buildMust(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Build and check the MUST AT for this ObjectClass.
|
private static void |
ObjectClassHelper.buildSuperiors(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Build the references to this ObjectClass SUPERIORS, checking that the type
hierarchy is correct.
|
static void |
ObjectClassHelper.removeFromRegistries(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
| 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.
|
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.