public final class ObjectClassHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
A logger for this class
|
| Modifier | Constructor and Description |
|---|---|
private |
ObjectClassHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToRegistries(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
private static void |
buildMay(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Build and check the MAY AT for this ObjectClass
|
private static void |
buildMust(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Build and check the MUST AT for this ObjectClass.
|
private static void |
buildSuperiors(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Build the references to this ObjectClass SUPERIORS, checking that the type
hierarchy is correct.
|
static void |
removeFromRegistries(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)
objectClass - The ObjectClass to add to the RegistrieserrorHandler - Error handlerregistries - The Registriesprivate static void buildSuperiors(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)
objectClass - The oOjectClass to processerrorHandler - The error handlerregistries - The Registries instanceprivate static void buildMust(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)
objectClass - The oOjectClass to processerrorHandler - The error handlerregistries - The Registries instanceprivate static void buildMay(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)
objectClass - The oOjectClass to processerrorHandler - The error handlerregistries - The Registries instancepublic static void removeFromRegistries(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries) throws LdapException
objectClass - The ObjectClass to remove fro the registrieserrorHandler - Error handlerregistries - The RegistriesLdapException - If the ObjectClass is not validCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.