|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.directory.server.core.schema.global.GlobalObjectClassRegistry
public class GlobalObjectClassRegistry
A plain old java object implementation of an ObjectClassRegistry.
| Constructor Summary | |
|---|---|
GlobalObjectClassRegistry(BootstrapObjectClassRegistry bootstrap,
OidRegistry oidRegistry)
Creates an empty BootstrapObjectClassRegistry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasObjectClass(java.lang.String id)
Checks to see if an objectClass exists. |
java.util.Iterator |
list()
Gets an Iterator over the ObjectClasses within this ObjectClassRegistry. |
ObjectClass |
lookup(java.lang.String id)
Looks up an objectClass by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
ObjectClass objectClass)
Registers an ObjectClass with this registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalObjectClassRegistry(BootstrapObjectClassRegistry bootstrap,
OidRegistry oidRegistry)
| Method Detail |
|---|
public void register(java.lang.String schema,
ObjectClass objectClass)
throws javax.naming.NamingException
ObjectClassRegistry
register in interface ObjectClassRegistryschema - the name of the schema the ObjectClass is associated withobjectClass - the objectClass to register
javax.naming.NamingException - if the ObjectClass is already registered or the
registration operation is not supported
public ObjectClass lookup(java.lang.String id)
throws javax.naming.NamingException
ObjectClassRegistry
lookup in interface ObjectClassRegistryid - the object identifier or name
javax.naming.NamingException - if the ObjectClass does not existpublic boolean hasObjectClass(java.lang.String id)
ObjectClassRegistry
hasObjectClass in interface ObjectClassRegistryid - the object identifier or name
public java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
ObjectClassRegistry
getSchemaName in interface ObjectClassRegistryid - the object identifier or the name
javax.naming.NamingException - if the schema object does not existpublic java.util.Iterator list()
ObjectClassRegistry
list in interface ObjectClassRegistry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||