com.novell.admin.ns.ldap
Class LDAPClassDefinition

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

public final class LDAPClassDefinition
extends ClassDefinition

This class represents the schema definition for a particular LDAP 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
LDAPClassDefinition(java.lang.String name, java.lang.String[] aliasArray, LDAPClassFlags flags, java.lang.String[] classContainmentNames, java.lang.String[] superClassNames, AttributeDefinition[] mandatoryAttributes, AttributeDefinition[] namingAttributes, AttributeDefinition[] optionalAttributes, java.lang.String oid, java.lang.String NDAPName, SchemaDefinition schemaDef)
          Constructs a class definition for an LDAP class.
 
Method Summary
 LDAPClassFlags 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.
 java.lang.String getNDAPName()
          Retrieves the NDAP equivalent name for this class.
 java.lang.String getOID()
          Retrieves the dotted numeric OID string for this 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

LDAPClassDefinition

public LDAPClassDefinition(java.lang.String name,
                           java.lang.String[] aliasArray,
                           LDAPClassFlags flags,
                           java.lang.String[] classContainmentNames,
                           java.lang.String[] superClassNames,
                           AttributeDefinition[] mandatoryAttributes,
                           AttributeDefinition[] namingAttributes,
                           AttributeDefinition[] optionalAttributes,
                           java.lang.String oid,
                           java.lang.String NDAPName,
                           SchemaDefinition schemaDef)
Constructs a class definition for an LDAP class.

Parameters:
name - The name of the schema class.
aliasArray - The alternate names which can be used to access the class.
flags - LDAP Class definition flags.
classContainmentNames - Names of classes that this class can be contained by.
superClassNames - Names of all super classes of this class.
mandatoryAttributes - Manatory attributes.
namingAttributes - Naming attributes.
optionalAttributes - Optional attributes.
oid - The dotted numeric OID string of the class.
NDAPName - The NDAP equivalent name for this class
schemaDef - The SchemaDefinition object for this class.
Method Detail

getClassFlags

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

Returns:
Cloned 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.

getNDAPName

public java.lang.String getNDAPName()
Retrieves the NDAP equivalent name for this class.

Returns:
The OID.

getOID

public java.lang.String getOID()
Retrieves the dotted numeric OID string for this class.

Returns:
The OID.

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.