org.apache.directory.server.schema.bootstrap
Interface Schema

All Known Subinterfaces:
BootstrapSchema
All Known Implementing Classes:
AbstractBootstrapSchema, AbstractSchema

public interface Schema

Base schema interface.

Version:
$Rev$
Author:
Apache Directory Project

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.
 

Method Detail

isDisabled

boolean isDisabled()
Checks whether or not this schema is enabled or disabled.

Returns:
true if this schema is disabled, false otherwise

getOwner

java.lang.String getOwner()
Gets the name of the owner of the schema objects within this Schema.

Returns:
the identifier for the owner of this set's objects

getSchemaName

java.lang.String getSchemaName()
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.

Returns:
the name of the logical schema

getDependencies

java.lang.String[] getDependencies()
Gets the names of other schemas that the objects within this Schema depends upon.

Returns:
the String names of schema dependencies


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