com.novell.admin.ns.fs
Class FSSchemaDefinition
java.lang.Object
|
+--com.novell.admin.ns.SchemaDefinition
|
+--com.novell.admin.ns.DefaultSchemaDefinition
|
+--com.novell.admin.ns.fs.FSSchemaDefinition
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- NWFSSchemaDefinition
- public class FSSchemaDefinition
- extends DefaultSchemaDefinition
This class models the entire 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. |
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 |
FSSchemaDefinition
public FSSchemaDefinition()
- Constructor.
This constructor should NOT be used by applications. Applications should
get the schema definition from the SchemaService implementation class.
- Parameters:
schema - The 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 DefaultSchemaDefinition
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 DefaultSchemaDefinition
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.