LDAP Classes
Implements Java LDAP

org.ietf.ldap
Class LDAPObjectClassSchema

java.lang.Object
  |
  +--org.ietf.ldap.LDAPAttribute
        |
        +--org.ietf.ldap.LDAPSchemaElement
              |
              +--org.ietf.ldap.LDAPObjectClassSchema
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class LDAPObjectClassSchema
extends LDAPSchemaElement

Represents the schematic definition of a particular object class in a particular directory server.

See Also:
com.novell.ldap.LDAPObjectClassSchema

Field Summary
static int ABSTRACT
          This class definition defines an abstract schema class.
static int AUXILIARY
          This class definition defines an auxiliary schema class.
static int STRUCTURAL
          This class definition defines a structural schema class.
 
Constructor Summary
LDAPObjectClassSchema(java.lang.String raw)
          Constructs an object class definition from the raw string value returned from a directory query for "objectClasses".
LDAPObjectClassSchema(java.lang.String[] names, java.lang.String oid, java.lang.String[] superiors, java.lang.String description, java.lang.String[] required, java.lang.String[] optional, int type, boolean obsolete)
          Constructs an object class definition for adding to or deleting from a directory's schema.
 
Method Summary
 java.lang.String[] getOptionalAttributes()
          Returns a list of optional attributes but not required of an entry with this object class.
 java.lang.String[] getRequiredAttributes()
          Returns a list of attributes required for an entry with this object class.
 java.lang.String[] getSuperiors()
          Returns the object classes from which this one derives.
 int getType()
          Returns the type of object class.
 
Methods inherited from class org.ietf.ldap.LDAPSchemaElement
getDescription, getID, getNames, getQualifier, getQualifierNames, isObsolete, setQualifier, toString
 
Methods inherited from class org.ietf.ldap.LDAPAttribute
addValue, addValue, clone, compareTo, getBaseName, getBaseName, getByteValueArray, getByteValues, getLangSubtype, getName, getStringValueArray, getStringValues, getSubtypes, getSubtypes, hasSubtype, hasSubtypes, removeValue, removeValue, size
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSTRACT

public static final int ABSTRACT
This class definition defines an abstract schema class.

See Also:
com.novell.ldap.LDAPObjectClassSchema.ABSTRACT, Constant Field Values

STRUCTURAL

public static final int STRUCTURAL
This class definition defines a structural schema class.

See Also:
com.novell.ldap.LDAPObjectClassSchema.STRUCTURAL, Constant Field Values

AUXILIARY

public static final int AUXILIARY
This class definition defines an auxiliary schema class.

See Also:
com.novell.ldap.LDAPObjectClassSchema.AUXILIARY, Constant Field Values
Constructor Detail

LDAPObjectClassSchema

public LDAPObjectClassSchema(java.lang.String[] names,
                             java.lang.String oid,
                             java.lang.String[] superiors,
                             java.lang.String description,
                             java.lang.String[] required,
                             java.lang.String[] optional,
                             int type,
                             boolean obsolete)
Constructs an object class definition for adding to or deleting from a directory's schema.

See Also:
com.novell.ldap.LDAPObjectClassSchema.LDAPObjectClassSchema( String, String, String[], String, String[], String[], int, boolean)

LDAPObjectClassSchema

public LDAPObjectClassSchema(java.lang.String raw)
Constructs an object class definition from the raw string value returned from a directory query for "objectClasses".

See Also:
com.novell.ldap.LDAPObjectClassSchema.LDAPObjectClassSchema( String)
Method Detail

getSuperiors

public java.lang.String[] getSuperiors()
Returns the object classes from which this one derives.

See Also:
com.novell.ldap.LDAPObjectClassSchema.getSuperiors()

getRequiredAttributes

public java.lang.String[] getRequiredAttributes()
Returns a list of attributes required for an entry with this object class.

See Also:
com.novell.ldap.LDAPObjectClassSchema.getRequiredAttributes()

getOptionalAttributes

public java.lang.String[] getOptionalAttributes()
Returns a list of optional attributes but not required of an entry with this object class.

See Also:
com.novell.ldap.LDAPObjectClassSchema.getOptionalAttributes()

getType

public int getType()
Returns the type of object class.

See Also:
com.novell.ldap.LDAPObjectClassSchema.getType()

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000