public interface Schema
All schema modifications should be made through SchemaDefinition. This interface provides methods to get the SchemaDefinition and attribute and class definitions. Applications should never use this interface directly to modify the schema.
SchemaDefinition| Modifier and Type | Method and Description |
|---|---|
void |
deleteAttributeDefinition(AttributeDefinition attributeDef)
Deletes the attribute definition from NDS.
|
void |
deleteClassDefinition(ClassDefinition classDef)
Deletes the class definition from NDS.
|
AttributeDefinition |
getAttributeDefinition(java.lang.String attrName)
Returns the definition for a specific attribute.
|
ClassDefinition |
getClassDefinition(java.lang.String className)
Returns the definition for a specific class.
|
ObjectType |
getObjectType(java.lang.String className)
Returns an ObjectType object for a specific class.
|
SchemaDefinition |
getSchemaDefinition()
Returns the schema definition from NDS.
|
void |
modifyAttributeDefinition(AttributeDefinition attributeDef)
Modifies the attribute definition in NDS.
|
void |
modifyClassDefinition(ClassDefinition classDef)
Modifies the class definition in NDS.
|
void |
refreshSchema()
Forces the entire schema to be re-read from NDS.
|
void |
writeAttributeDefinition(AttributeDefinition attributeDef)
Writes the attribute definition to NDS.
|
void |
writeClassDefinition(ClassDefinition classDef)
Writes the class definition to NDS.
|
ObjectType getObjectType(java.lang.String className) throws SPIException
className - The name of the class.SPIException - Refer to SPIException documentation.ClassDefinition getClassDefinition(java.lang.String className) throws SPIException
className - The name of the class.SPIException - Refer to SPIException documentation.SchemaDefinition.getClassDefinition(String)AttributeDefinition getAttributeDefinition(java.lang.String attrName) throws SPIException
attrName - The name of the attribute.SPIException - Refer to SPIException documentation.SchemaDefinition getSchemaDefinition() throws SPIException
SPIException - Refer to SPIException documentation.void refreshSchema()
void writeAttributeDefinition(AttributeDefinition attributeDef) throws SPIException
attributeDef - The attribute definition.SPIException - Refer to SPIException documentation.void deleteAttributeDefinition(AttributeDefinition attributeDef) throws SPIException
attributeDef - The attribute definition.SPIException - Refer to SPIException documentation.void modifyClassDefinition(ClassDefinition classDef) throws SPIException
classDef - The class definition.SPIException - Refer to SPIException documentation.void modifyAttributeDefinition(AttributeDefinition attributeDef) throws SPIException
attributeDef - The attribute definition.SPIException - Refer to SPIException documentation.void writeClassDefinition(ClassDefinition classDef) throws SPIException
classDef - The class definition.SPIException - Refer to SPIException documentation.void deleteClassDefinition(ClassDefinition classDef) throws SPIException
classDef - The class definition.SPIException - Refer to SPIException documentation.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.