org.apache.ldap.server.schema.bootstrap
Class AbstractBootstrapProducer.BootstrapObjectClass

java.lang.Object
  extended byorg.apache.ldap.common.schema.AbstractSchemaObject
      extended byorg.apache.ldap.server.schema.bootstrap.AbstractBootstrapProducer.BootstrapObjectClass
All Implemented Interfaces:
org.apache.ldap.common.schema.ObjectClass, org.apache.ldap.common.schema.SchemaObject
Enclosing class:
AbstractBootstrapProducer

public static class AbstractBootstrapProducer.BootstrapObjectClass
extends org.apache.ldap.common.schema.AbstractSchemaObject
implements org.apache.ldap.common.schema.ObjectClass

A concrete mutable objectClass implementation for bootstrapping which uses registries for dynamically resolving dependent objects.


Field Summary
 
Fields inherited from class org.apache.ldap.common.schema.AbstractSchemaObject
description, isObsolete, names, oid
 
Constructor Summary
protected AbstractBootstrapProducer.BootstrapObjectClass(java.lang.String oid, BootstrapRegistries registries)
          Creates a mutable ObjectClass for the bootstrap process.
 
Method Summary
 org.apache.ldap.common.schema.AttributeType[] getMayList()
           
 org.apache.ldap.common.schema.AttributeType[] getMustList()
           
 org.apache.ldap.common.schema.ObjectClass[] getSuperClasses()
           
 org.apache.ldap.common.schema.ObjectClassTypeEnum getType()
           
 void setDescription(java.lang.String description)
           
 void setMayListIds(java.lang.String[] mayListIds)
           
 void setMustListIds(java.lang.String[] mustListIds)
           
 void setNames(java.lang.String[] names)
           
 void setObsolete(boolean obsolete)
           
 void setSuperClassIds(java.lang.String[] superClassIds)
           
 void setType(org.apache.ldap.common.schema.ObjectClassTypeEnum type)
           
 
Methods inherited from class org.apache.ldap.common.schema.AbstractSchemaObject
equals, getDescription, getName, getNames, getOid, hashCode, isObsolete, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.ldap.common.schema.SchemaObject
getDescription, getName, getNames, getOid, isObsolete
 

Constructor Detail

AbstractBootstrapProducer.BootstrapObjectClass

protected AbstractBootstrapProducer.BootstrapObjectClass(java.lang.String oid,
                                                         BootstrapRegistries registries)
Creates a mutable ObjectClass for the bootstrap process.

Parameters:
oid - the OID of the new objectClass
registries - the bootstrap registries to use for resolving dependent objects
Method Detail

getSuperClasses

public org.apache.ldap.common.schema.ObjectClass[] getSuperClasses()
                                                            throws javax.naming.NamingException
Specified by:
getSuperClasses in interface org.apache.ldap.common.schema.ObjectClass
Throws:
javax.naming.NamingException

setSuperClassIds

public void setSuperClassIds(java.lang.String[] superClassIds)

getType

public org.apache.ldap.common.schema.ObjectClassTypeEnum getType()
Specified by:
getType in interface org.apache.ldap.common.schema.ObjectClass

setType

public void setType(org.apache.ldap.common.schema.ObjectClassTypeEnum type)

getMustList

public org.apache.ldap.common.schema.AttributeType[] getMustList()
                                                          throws javax.naming.NamingException
Specified by:
getMustList in interface org.apache.ldap.common.schema.ObjectClass
Throws:
javax.naming.NamingException

setMustListIds

public void setMustListIds(java.lang.String[] mustListIds)

getMayList

public org.apache.ldap.common.schema.AttributeType[] getMayList()
                                                         throws javax.naming.NamingException
Specified by:
getMayList in interface org.apache.ldap.common.schema.ObjectClass
Throws:
javax.naming.NamingException

setMayListIds

public void setMayListIds(java.lang.String[] mayListIds)

setObsolete

public void setObsolete(boolean obsolete)

setNames

public void setNames(java.lang.String[] names)

setDescription

public void setDescription(java.lang.String description)


Copyright © 2002-2005 . All Rights Reserved.