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

java.lang.Object
  extended by org.apache.directory.server.core.schema.AbstractSchema
All Implemented Interfaces:
Schema

public abstract class AbstractSchema
extends java.lang.Object
implements Schema

An abstract schema class.

Version:
$Rev$
Author:
Apache Directory Project

Constructor Summary
AbstractSchema(java.lang.String name)
           
AbstractSchema(java.lang.String name, java.lang.String owner)
           
AbstractSchema(java.lang.String name, java.lang.String owner, java.lang.String[] dependencies)
           
AbstractSchema(java.lang.String name, java.lang.String owner, java.lang.String[] dependencies, boolean disabled)
           
 
Method Summary
 java.lang.String[] getDependencies()
          Gets the names of other schemas that the objects within this Schema depends upon.
 java.lang.String getOwner()
          Gets the name of the owner of the schema objects within this Schema.
 java.lang.String getSchemaName()
          Gets the name of the logical schema the objects of this Schema belong to: e.g.
 boolean isDisabled()
          Checks whether or not this schema is enabled or disabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSchema

public AbstractSchema(java.lang.String name)

AbstractSchema

public AbstractSchema(java.lang.String name,
                      java.lang.String owner)

AbstractSchema

public AbstractSchema(java.lang.String name,
                      java.lang.String owner,
                      java.lang.String[] dependencies)

AbstractSchema

public AbstractSchema(java.lang.String name,
                      java.lang.String owner,
                      java.lang.String[] dependencies,
                      boolean disabled)
Method Detail

getDependencies

public java.lang.String[] getDependencies()
Description copied from interface: Schema
Gets the names of other schemas that the objects within this Schema depends upon.

Specified by:
getDependencies in interface Schema
Returns:
the String names of schema dependencies

getOwner

public java.lang.String getOwner()
Description copied from interface: Schema
Gets the name of the owner of the schema objects within this Schema.

Specified by:
getOwner in interface Schema
Returns:
the identifier for the owner of this set's objects

getSchemaName

public java.lang.String getSchemaName()
Description copied from interface: Schema
Gets the name of the logical schema the objects of this Schema belong to: e.g. krb5-kdc may be the logical LDAP schema name.

Specified by:
getSchemaName in interface Schema
Returns:
the name of the logical schema

isDisabled

public boolean isDisabled()
Description copied from interface: Schema
Checks whether or not this schema is enabled or disabled.

Specified by:
isDisabled in interface Schema
Returns:
true if this schema is disabled, false otherwise


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