org.apache.directory.server.core.schema
Class NameFormImpl
java.lang.Object
org.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.server.core.schema.NameFormImpl
- All Implemented Interfaces:
- java.io.Serializable, org.apache.directory.shared.ldap.schema.MutableSchemaObject, org.apache.directory.shared.ldap.schema.NameForm, org.apache.directory.shared.ldap.schema.SchemaObject
public class NameFormImpl
- extends org.apache.directory.shared.ldap.schema.AbstractSchemaObject
- implements org.apache.directory.shared.ldap.schema.NameForm, org.apache.directory.shared.ldap.schema.MutableSchemaObject
A nameForm bean implementation that uses a set of registries to dynamically
resolve it's dependencies.
- Version:
- $Rev$
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
description, isObsolete, names, oid, 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 |
NameFormImpl
public NameFormImpl(java.lang.String oid,
Registries registries)
- Parameters:
oid
-
setMayUseOids
public void setMayUseOids(java.lang.String[] mayUseOids)
getMayUse
public org.apache.directory.shared.ldap.schema.AttributeType[] getMayUse()
throws javax.naming.NamingException
- Specified by:
getMayUse
in interface org.apache.directory.shared.ldap.schema.NameForm
- Throws:
javax.naming.NamingException
setMustUseOids
public void setMustUseOids(java.lang.String[] mustUseOids)
getMustUse
public org.apache.directory.shared.ldap.schema.AttributeType[] getMustUse()
throws javax.naming.NamingException
- Specified by:
getMustUse
in interface org.apache.directory.shared.ldap.schema.NameForm
- Throws:
javax.naming.NamingException
setObjectClassOid
public void setObjectClassOid(java.lang.String objectClassOid)
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.NameForm
- 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.