com.novell.admin.ns.fs.nw
Class NWFSSchemaDefinition
java.lang.Object
|
+--com.novell.admin.ns.SchemaDefinition
|
+--com.novell.admin.ns.DefaultSchemaDefinition
|
+--com.novell.admin.ns.fs.FSSchemaDefinition
|
+--com.novell.admin.ns.fs.nw.NWFSSchemaDefinition
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public final class NWFSSchemaDefinition
- extends FSSchemaDefinition
This class models the entire Netware File System schema.
The FS schema is not modifiable.
|
Method Summary |
boolean |
canContain(java.lang.String parentClass,
java.lang.String childClass)
Test if objects of one class type may contain objects of another
class type. |
void |
deleteClassDefinition(java.lang.String className)
Delete classes from the schema. |
ClassDefinition[] |
getContainmentClasses(java.lang.String className)
Retrieve ALL containment classes for a specific class type. |
| Methods inherited from class com.novell.admin.ns.DefaultSchemaDefinition |
equals,
getAttributeDefinition,
getAttributeDefinitions,
getAuxiliaryClassDefinitions,
getClassDefinition,
getClassDefinitions,
getClassesUsingAttribute,
getEffectiveClasses,
getNumberOfAttributes,
getNumberOfClasses,
isAttributeDefined,
isClassDefined |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NWFSSchemaDefinition
public NWFSSchemaDefinition()
- Constructor.
This constructor should NOT be used by applications. Applications should
get the schema definition from the SchemaService implementation class.
- Parameters:
schema - The NetWare File System Schema Service class that factoried this.
canContain
public boolean canContain(java.lang.String parentClass,
java.lang.String childClass)
- Test if objects of one class type may contain objects of another
class type.
- Parameters:
parentClass - The name of the parent class type.childClass - The name of the child class type.- Returns:
- true if object based on the parent class type can contain
object based on the child class type, false otherwise.
- Overrides:
- canContain in class FSSchemaDefinition
getContainmentClasses
public ClassDefinition[] getContainmentClasses(java.lang.String className)
throws NamespaceException
- Retrieve ALL containment classes for a specific class type.
The class definitions returned are in unexpanded form.
- Parameters:
className - Name of the class in question.- Returns:
- An array of ClassDefinition objects representing those
classes that may contain the class named by 'className'.
- Throws:
- NamespaceException - Refer to NamespaceException documentation.
- Overrides:
- getContainmentClasses in class FSSchemaDefinition
deleteClassDefinition
public void deleteClassDefinition(java.lang.String className)
throws NamespaceException
- Delete classes from the schema.
this is specifically used for the Deleted File class so when the classes are
retrieved by a snapin, the Deleted File class will not be available.
- Parameters:
className - Name of the class in question.- Throws:
- NamespaceException - Refer to NamespaceException documentation.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.