LDAP Classes
Implements Java LDAP

org.ietf.ldap
Class LDAPSchema

java.lang.Object
  |
  +--org.ietf.ldap.LDAPEntry
        |
        +--org.ietf.ldap.LDAPSchema
All Implemented Interfaces:
java.lang.Comparable

public class LDAPSchema
extends LDAPEntry

Represents the schema controlling one or more entries held by a Directory Server.

See Also:
com.novell.ldap.LDAPSchema

Constructor Summary
LDAPSchema(LDAPEntry entry)
          Constructs an LDAPSchema object from the attributes of an LDAPEntry.
 
Method Summary
 java.util.Enumeration getAttributeNames()
          Returns an enumeration of attribute names.
 LDAPAttributeSchema getAttributeSchema(java.lang.String name)
          Returns a particular attribute definition, or null if not found.
 java.util.Enumeration getAttributeSchemas()
          Returns an enumeration of attribute definitions.
 java.util.Enumeration getDITContentRuleNames()
          Returns an enumeration of DIT content rule names.
 LDAPDITContentRuleSchema getDITContentRuleSchema(java.lang.String name)
          Returns a particular DIT content rule definition, or null if not found.
 java.util.Enumeration getDITContentRuleSchemas()
          Returns an enumeration of DIT content rule definitions.
 java.util.Enumeration getDITStructureRuleNames()
          Returns an enumeration of DIT structure rule names.
 LDAPDITStructureRuleSchema getDITStructureRuleSchema(int id)
          Returns a particular DIT structure rule definition, or null if not found.
 LDAPDITStructureRuleSchema getDITStructureRuleSchema(java.lang.String name)
          Returns a particular DIT structure rule definition, or null if not found.
 java.util.Enumeration getDITStructureRuleSchemas()
          Returns an enumeration of DIT structure rule definitions.
 java.util.Enumeration getMatchingRuleNames()
          Returns an enumeration of matching rule names.
 LDAPMatchingRuleSchema getMatchingRuleSchema(java.lang.String name)
          Returns a particular matching rule definition, or null if not found.
 java.util.Enumeration getMatchingRuleSchemas()
          Returns an enumeration of matching rule definitions.
 java.util.Enumeration getMatchingRuleUseNames()
          Returns an enumeration of matching rule use names.
 LDAPMatchingRuleUseSchema getMatchingRuleUseSchema(java.lang.String name)
          Returns a particular matching rule use definition, or null if not found.
 java.util.Enumeration getMatchingRuleUseSchemas()
          Returns an enumeration of matching rule use definitions.
 java.util.Enumeration getNameFormNames()
          Returns an enumeration of name form names.
 LDAPNameFormSchema getNameFormSchema(java.lang.String name)
          Returns a particular name form definition, or null if not found.
 java.util.Enumeration getNameFormSchemas()
          Returns an enumeration of name form definitions.
 java.util.Enumeration getObjectClassNames()
          Returns an enumeration of object class names.
 LDAPObjectClassSchema getObjectClassSchema(java.lang.String name)
          Returns a particular object class definition, or null if not found.
 java.util.Enumeration getObjectClassSchemas()
          Returns an enumeration of object class definitions.
 LDAPSyntaxSchema getSyntaxSchema(java.lang.String oid)
          Returns a particular syntax definition, or null if not found.
 java.util.Enumeration getSyntaxSchemas()
          Returns an enumeration of syntax definitions.
 
Methods inherited from class org.ietf.ldap.LDAPEntry
compareTo, getAttribute, getAttributeSet, getAttributeSet, getDN
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPSchema

public LDAPSchema(LDAPEntry entry)
Constructs an LDAPSchema object from the attributes of an LDAPEntry.

See Also:
com.novell.ldap.LDAPSchema.LDAPSchema(LDAPEntry)
Method Detail

getAttributeSchema

public LDAPAttributeSchema getAttributeSchema(java.lang.String name)
Returns a particular attribute definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getAttributeSchema(String)

getObjectClassSchema

public LDAPObjectClassSchema getObjectClassSchema(java.lang.String name)
Returns a particular object class definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getObjectClassSchema(String)

getMatchingRuleSchema

public LDAPMatchingRuleSchema getMatchingRuleSchema(java.lang.String name)
Returns a particular matching rule definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getMatchingRuleSchema(String)

getMatchingRuleUseSchema

public LDAPMatchingRuleUseSchema getMatchingRuleUseSchema(java.lang.String name)
Returns a particular matching rule use definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getMatchingRuleUseSchema(String)

getDITStructureRuleSchema

public LDAPDITStructureRuleSchema getDITStructureRuleSchema(java.lang.String name)
Returns a particular DIT structure rule definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getDITStructureRuleSchema(String)

getDITStructureRuleSchema

public LDAPDITStructureRuleSchema getDITStructureRuleSchema(int id)
Returns a particular DIT structure rule definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getDITStructureRuleSchema(int)

getDITContentRuleSchema

public LDAPDITContentRuleSchema getDITContentRuleSchema(java.lang.String name)
Returns a particular DIT content rule definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getDITContentRuleSchema(String)

getNameFormSchema

public LDAPNameFormSchema getNameFormSchema(java.lang.String name)
Returns a particular name form definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getNameFormSchema(String)

getSyntaxSchema

public LDAPSyntaxSchema getSyntaxSchema(java.lang.String oid)
Returns a particular syntax definition, or null if not found.

See Also:
com.novell.ldap.LDAPSchema.getSyntaxSchema(String)

getAttributeSchemas

public java.util.Enumeration getAttributeSchemas()
Returns an enumeration of attribute definitions.

See Also:
com.novell.ldap.LDAPSchema.getAttributeSchemas()

getObjectClassSchemas

public java.util.Enumeration getObjectClassSchemas()
Returns an enumeration of object class definitions.

See Also:
com.novell.ldap.LDAPSchema.getObjectClassSchemas()

getMatchingRuleSchemas

public java.util.Enumeration getMatchingRuleSchemas()
Returns an enumeration of matching rule definitions.

See Also:
com.novell.ldap.LDAPSchema.getMatchingRuleSchemas()

getMatchingRuleUseSchemas

public java.util.Enumeration getMatchingRuleUseSchemas()
Returns an enumeration of matching rule use definitions.

See Also:
com.novell.ldap.LDAPSchema.getMatchingRuleUseSchemas()

getDITStructureRuleSchemas

public java.util.Enumeration getDITStructureRuleSchemas()
Returns an enumeration of DIT structure rule definitions.

See Also:
com.novell.ldap.LDAPSchema.getDITStructureRuleSchemas()

getDITContentRuleSchemas

public java.util.Enumeration getDITContentRuleSchemas()
Returns an enumeration of DIT content rule definitions.

See Also:
com.novell.ldap.LDAPSchema.getDITContentRuleSchemas()

getNameFormSchemas

public java.util.Enumeration getNameFormSchemas()
Returns an enumeration of name form definitions.

See Also:
com.novell.ldap.LDAPSchema.getNameFormSchemas()

getSyntaxSchemas

public java.util.Enumeration getSyntaxSchemas()
Returns an enumeration of syntax definitions.

See Also:
com.novell.ldap.LDAPSchema.getSyntaxSchemas()

getAttributeNames

public java.util.Enumeration getAttributeNames()
Returns an enumeration of attribute names.

See Also:
com.novell.ldap.LDAPSchema.getAttributeNames()

getObjectClassNames

public java.util.Enumeration getObjectClassNames()
Returns an enumeration of object class names.

See Also:
com.novell.ldap.LDAPSchema.getObjectClassNames()

getMatchingRuleNames

public java.util.Enumeration getMatchingRuleNames()
Returns an enumeration of matching rule names.

See Also:
com.novell.ldap.LDAPSchema.getMatchingRuleNames()

getMatchingRuleUseNames

public java.util.Enumeration getMatchingRuleUseNames()
Returns an enumeration of matching rule use names.

See Also:
com.novell.ldap.LDAPSchema.getMatchingRuleUseNames()

getDITStructureRuleNames

public java.util.Enumeration getDITStructureRuleNames()
Returns an enumeration of DIT structure rule names.

See Also:
com.novell.ldap.LDAPSchema.getDITStructureRuleNames()

getDITContentRuleNames

public java.util.Enumeration getDITContentRuleNames()
Returns an enumeration of DIT content rule names.

See Also:
com.novell.ldap.LDAPSchema.getDITContentRuleNames()

getNameFormNames

public java.util.Enumeration getNameFormNames()
Returns an enumeration of name form names.

See Also:
com.novell.ldap.LDAPSchema.getNameFormNames()

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