|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=false, mayInvoke=true) public interface SchemaFileElement
This interface defines a set of methods that must be provided by a
schema file element, which is a schema element that is loaded from
a schema configuration file.
Note that this interface is not meant to be implemented by
third-party code, and only the following classes should be
considered schema file elements:
org.opends.server.types.AttributeType
org.opends.server.types.ObjectClass
org.opends.server.types.NameForm
org.opends.server.types.DITContentRule
org.opends.server.types.DITStructureRule
org.opends.server.types.MatchingRuleUse
Method Summary | |
---|---|
java.lang.String |
getDefinition()
Retrieves the definition string that is used to represent this element in the schema configuration file. |
java.lang.String |
getSchemaFile()
Retrieves the name of the schema file in which this element is defined. |
SchemaFileElement |
recreateFromDefinition()
Creates a new instance of this schema element based on the definition from the schema file. |
void |
setSchemaFile(java.lang.String schemaFile)
Specifies the name of the schema file in which this element is defined. |
Method Detail |
---|
java.lang.String getSchemaFile()
null
if it is not known or this
element is not defined in any schema file.void setSchemaFile(java.lang.String schemaFile)
schemaFile
- The name of the schema file in which this
element is defined, or null
if it is
not defined in any schema file.java.lang.String getDefinition()
SchemaFileElement recreateFromDefinition() throws DirectoryException
DirectoryException
- If a problem occurs while attempting
to create the new instance of this
schema element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |