|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.registries.DefaultSchema
public class DefaultSchema
The default Schema interface implementation.
| Constructor Summary | |
|---|---|
DefaultSchema(String name)
Creates a new instance of DefaultSchema. |
|
DefaultSchema(String name,
String owner)
Creates a new instance of DefaultSchema. |
|
DefaultSchema(String name,
String owner,
String[] dependencies)
Creates a new instance of DefaultSchema. |
|
DefaultSchema(String name,
String owner,
String[] dependencies,
boolean disabled)
Creates a new instance of DefaultSchema. |
|
| Method Summary | |
|---|---|
void |
addDependencies(String... dependencies)
Add a set of dependencies this schema uses. |
void |
disable()
Disable the schema |
void |
enable()
Enable the schema |
Set<SchemaObjectWrapper> |
getContent()
Gets the set of SchemaObject elements declared in this schema |
String[] |
getDependencies()
Gets the names of other schemas that the objects within this Schema depends upon. |
String |
getOwner()
Gets the name of the owner of the schema objects within this Schema. |
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. |
boolean |
isEnabled()
Checks whether or not this schema is enabled or disabled. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSchema(String name)
name - The schema's name
public DefaultSchema(String name,
String owner)
name - The schema's nameowner - the schema's owner
public DefaultSchema(String name,
String owner,
String[] dependencies)
name - The schema's nameowner - the schema's ownerdependencies - The list of schemas it depends on
public DefaultSchema(String name,
String owner,
String[] dependencies,
boolean disabled)
name - The schema's nameowner - the schema's ownerdependencies - The list of schemas it depends ondisabled - Set the status for this schema| Method Detail |
|---|
public String[] getDependencies()
getDependencies in interface Schemapublic void addDependencies(String... dependencies)
addDependencies in interface Schemapublic String getOwner()
getOwner in interface Schemapublic String getSchemaName()
getSchemaName in interface Schemapublic boolean isDisabled()
isDisabled in interface Schemapublic boolean isEnabled()
isEnabled in interface Schemapublic void disable()
disable in interface Schemapublic void enable()
enable in interface Schemapublic Set<SchemaObjectWrapper> getContent()
getContent in interface Schemapublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||