com.novell.admin.ns.nds
Class NDSClassDefinition

java.lang.Object
  extended bycom.novell.admin.ns.ClassDefinition
      extended bycom.novell.admin.ns.nds.NDSClassDefinition
All Implemented Interfaces:
java.io.Serializable

public final class NDSClassDefinition
extends ClassDefinition

This class represents the schema definition for a particular NDS class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.admin.ns.ClassDefinition
aliasNames, auxiliary, classContainmentNameList, className, container, effective, expanded, mandatoryAttributeTable, namingAttributeTable, nonRemove, optionalAttributeTable, schemaDef, superClassNameList
 
Constructor Summary
NDSClassDefinition(java.lang.String name, NDSClassFlags flags, java.lang.String[] classContainmentNames, java.lang.String[] superClassNames, AttributeDefinition[] mandatoryAttributes, AttributeDefinition[] namingAttributes, AttributeDefinition[] optionalAttributes, byte[] asn1)
          Constructor - Creates an NDS class definition.
 
Method Summary
 byte[] getASN1Data()
          Retrieves the ASN1 information for this class.
 NDSClassFlags getClassFlags()
          Returns the class flags for this class.
 AttributeDefinition[] getMandatoryAttributes()
          Retrieves the mandatory attributes of the schema class.
 AttributeDefinition[] getNamingAttributes()
          Retrieves the naming attributes of the schema class.
 AttributeDefinition[] getOptionalAttributes()
          Retrieves the optional attributes of the schema class.
 
Methods inherited from class com.novell.admin.ns.ClassDefinition
canBeContainedBy, getAliasNames, getContainmentClasses, getExpanded, getName, getSuperClasses, isAttributeMandatory, isAttributeOptional, isAuxiliary, isClassUsingAttribute, isContainer, isEffective, isInheritedFrom, isNamedBy, isNonRemovable, isNonRemoveable, setExpanded, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NDSClassDefinition

public NDSClassDefinition(java.lang.String name,
                          NDSClassFlags flags,
                          java.lang.String[] classContainmentNames,
                          java.lang.String[] superClassNames,
                          AttributeDefinition[] mandatoryAttributes,
                          AttributeDefinition[] namingAttributes,
                          AttributeDefinition[] optionalAttributes,
                          byte[] asn1)
Constructor - Creates an NDS class definition.

Parameters:
name - The name of the NDS object class.
flags - NDS Class definition flags.
classContainmentNames - The names of classes that this class can be contained by.
superClassNames - The names of all this class's super classes.
mandatoryAttributes - The mandatory attributes for this object class.
namingAttributes - The naming attributes for this object class.
optionalAttributes - The object class's optional attributes.
asn1 - The global ID of the object class.
Method Detail

getASN1Data

public byte[] getASN1Data()
Retrieves the ASN1 information for this class.

Returns:
A copy of the ASN1 data.

getClassFlags

public NDSClassFlags getClassFlags()
Returns the class flags for this class.

Returns:
A copy of the class flags associated with this class.

getMandatoryAttributes

public AttributeDefinition[] getMandatoryAttributes()
Retrieves the mandatory attributes of the schema class.

Overrides:
getMandatoryAttributes in class ClassDefinition
Returns:
Array of the mandatory attributes.

getNamingAttributes

public AttributeDefinition[] getNamingAttributes()
Retrieves the naming attributes of the schema class.

Overrides:
getNamingAttributes in class ClassDefinition
Returns:
Array of the naming attribute definitions.

getOptionalAttributes

public AttributeDefinition[] getOptionalAttributes()
Retrieves the optional attributes of the schema class.

Overrides:
getOptionalAttributes in class ClassDefinition
Returns:
Array of the optional attributes.


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 September 2 2004 0111.