org.apache.directory.server.core.schema.bootstrap
Class AbstractBootstrapProducer.BootstrapObjectClass

java.lang.Object
  extended byAbstractSchemaObject
      extended byorg.apache.directory.server.core.schema.bootstrap.AbstractBootstrapProducer.BootstrapObjectClass
Enclosing class:
AbstractBootstrapProducer

public static class AbstractBootstrapProducer.BootstrapObjectClass
extends AbstractSchemaObject

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

See Also:
Serialized Form

Constructor Summary
protected AbstractBootstrapProducer.BootstrapObjectClass(java.lang.String oid, BootstrapRegistries registries)
          Creates a mutable ObjectClass for the bootstrap process.
 
Method Summary
 AttributeType[] getMayList()
           
 AttributeType[] getMustList()
           
 ObjectClass[] getSuperClasses()
           
 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(ObjectClassTypeEnum type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 ObjectClass[] getSuperClasses()
                              throws javax.naming.NamingException
Throws:
javax.naming.NamingException

setSuperClassIds

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

getType

public ObjectClassTypeEnum getType()

setType

public void setType(ObjectClassTypeEnum type)

getMustList

public AttributeType[] getMustList()
                            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

setMustListIds

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

getMayList

public AttributeType[] getMayList()
                           throws javax.naming.NamingException
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)