org.apache.directory.server.core.schema
Class DitContentRuleImpl

java.lang.Object
  extended by org.apache.directory.shared.ldap.schema.AbstractSchemaObject
      extended by org.apache.directory.server.core.schema.DitContentRuleImpl
All Implemented Interfaces:
java.io.Serializable, org.apache.directory.shared.ldap.schema.DITContentRule, org.apache.directory.shared.ldap.schema.MutableSchemaObject, org.apache.directory.shared.ldap.schema.SchemaObject

public class DitContentRuleImpl
extends org.apache.directory.shared.ldap.schema.AbstractSchemaObject
implements org.apache.directory.shared.ldap.schema.MutableSchemaObject, org.apache.directory.shared.ldap.schema.DITContentRule

A DitContentRule bean implementation that uses a registries object to dynamically resolve it's dependencies.

Version:
$Rev$
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
description, isObsolete, names, oid, schema
 
Constructor Summary
protected DitContentRuleImpl(java.lang.String oid, Registries registries)
           
 
Method Summary
 org.apache.directory.shared.ldap.schema.ObjectClass[] getAuxObjectClasses()
           
 org.apache.directory.shared.ldap.schema.AttributeType[] getMayNames()
           
 org.apache.directory.shared.ldap.schema.AttributeType[] getMustNames()
           
 org.apache.directory.shared.ldap.schema.AttributeType[] getNotNames()
           
 org.apache.directory.shared.ldap.schema.ObjectClass getObjectClass()
           
 void setAuxObjectClassOids(java.lang.String[] auxObjectClassOids)
           
 void setDescription(java.lang.String description)
           
 void setMayNameOids(java.lang.String[] mayNameOids)
           
 void setMustNameOids(java.lang.String[] mustNameOids)
           
 void setNames(java.lang.String[] names)
           
 void setNotNameOids(java.lang.String[] notNameOids)
           
 void setObsolete(boolean obsolete)
           
 void setSchema(java.lang.String schema)
           
 
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject
equals, getDescription, getName, getNamesRef, getOid, getSchema, hashCode, isObsolete, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.ldap.schema.SchemaObject
getDescription, getName, getNamesRef, getOid, getSchema, isObsolete
 
Methods inherited from interface org.apache.directory.shared.ldap.schema.SchemaObject
getDescription, getName, getNamesRef, getOid, getSchema, isObsolete
 

Constructor Detail

DitContentRuleImpl

protected DitContentRuleImpl(java.lang.String oid,
                             Registries registries)
Method Detail

setAuxObjectClassOids

public void setAuxObjectClassOids(java.lang.String[] auxObjectClassOids)

getAuxObjectClasses

public org.apache.directory.shared.ldap.schema.ObjectClass[] getAuxObjectClasses()
                                                                          throws javax.naming.NamingException
Specified by:
getAuxObjectClasses in interface org.apache.directory.shared.ldap.schema.DITContentRule
Throws:
javax.naming.NamingException

setMayNameOids

public void setMayNameOids(java.lang.String[] mayNameOids)

getMayNames

public org.apache.directory.shared.ldap.schema.AttributeType[] getMayNames()
                                                                    throws javax.naming.NamingException
Specified by:
getMayNames in interface org.apache.directory.shared.ldap.schema.DITContentRule
Throws:
javax.naming.NamingException

setMustNameOids

public void setMustNameOids(java.lang.String[] mustNameOids)

getMustNames

public org.apache.directory.shared.ldap.schema.AttributeType[] getMustNames()
                                                                     throws javax.naming.NamingException
Specified by:
getMustNames in interface org.apache.directory.shared.ldap.schema.DITContentRule
Throws:
javax.naming.NamingException

setNotNameOids

public void setNotNameOids(java.lang.String[] notNameOids)

getNotNames

public org.apache.directory.shared.ldap.schema.AttributeType[] getNotNames()
                                                                    throws javax.naming.NamingException
Specified by:
getNotNames in interface org.apache.directory.shared.ldap.schema.DITContentRule
Throws:
javax.naming.NamingException

getObjectClass

public org.apache.directory.shared.ldap.schema.ObjectClass getObjectClass()
                                                                   throws javax.naming.NamingException
Specified by:
getObjectClass in interface org.apache.directory.shared.ldap.schema.DITContentRule
Throws:
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface org.apache.directory.shared.ldap.schema.MutableSchemaObject
Overrides:
setDescription in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject

setObsolete

public void setObsolete(boolean obsolete)
Specified by:
setObsolete in interface org.apache.directory.shared.ldap.schema.MutableSchemaObject
Overrides:
setObsolete in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject

setNames

public void setNames(java.lang.String[] names)
Specified by:
setNames in interface org.apache.directory.shared.ldap.schema.MutableSchemaObject
Overrides:
setNames in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject

setSchema

public void setSchema(java.lang.String schema)
Specified by:
setSchema in interface org.apache.directory.shared.ldap.schema.SchemaObject
Overrides:
setSchema in class org.apache.directory.shared.ldap.schema.AbstractSchemaObject


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.