All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPSchemaElement

java.lang.Object
  extended by org.ietf.ldap.LDAPAttribute
      extended by org.ietf.ldap.LDAPSchemaElement
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
LDAPAttributeSchema, LDAPDITContentRuleSchema, LDAPDITStructureRuleSchema, LDAPMatchingRuleSchema, LDAPMatchingRuleUseSchema, LDAPNameFormSchema, LDAPObjectClassSchema, LDAPSyntaxSchema

public abstract class LDAPSchemaElement
extends LDAPAttribute

The base class for representing LDAP schema elements.

See Also:
com.novell.ldap.LDAPSchemaElement

Field Summary
(package private)  LDAPSchemaElement schemaElement
           
 
Constructor Summary
LDAPSchemaElement(LDAPSchemaElement element)
          Set the Novell class that implements LDAPSchemaElement
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the element.
 java.lang.String getID()
          Returns the unique object identifier (OID) of the element.
 java.lang.String[] getNames()
          Returns an array of names for the element, or null if none is found.
 java.lang.String[] getQualifier(java.lang.String name)
          Returns an array of all values of a specified optional or non- standard qualifier of the element.
 java.util.Enumeration getQualifierNames()
          Returns an enumeration of all qualifiers of the element which are vendor specific (begin with "X-").
 boolean isObsolete()
          Returns whether the element has the OBSOLETE qualifier in its LDAP definition.
 void setQualifier(java.lang.String name, java.lang.String[] values)
          Sets the values of a specified optional or non-standard qualifier of the element.
 java.lang.String toString()
          Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element.
 
Methods inherited from class org.ietf.ldap.LDAPAttribute
addValue, addValue, clone, compareTo, getBaseName, getBaseName, getByteValueArray, getByteValues, getLangSubtype, getName, getStringValueArray, getStringValues, getSubtypes, getSubtypes, getWrappedObject, hasSubtype, hasSubtypes, removeValue, removeValue, size
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

schemaElement

LDAPSchemaElement schemaElement
Constructor Detail

LDAPSchemaElement

LDAPSchemaElement(LDAPSchemaElement element)
Set the Novell class that implements LDAPSchemaElement

Method Detail

getNames

public java.lang.String[] getNames()
Returns an array of names for the element, or null if none is found.

See Also:
com.novell.ldap.LDAPSchemaElement.getNames()

getDescription

public java.lang.String getDescription()
Returns the description of the element.

See Also:
com.novell.ldap.LDAPSchemaElement.getDescription()

getID

public java.lang.String getID()
Returns the unique object identifier (OID) of the element.

See Also:
com.novell.ldap.LDAPSchemaElement.getID()

getQualifier

public java.lang.String[] getQualifier(java.lang.String name)
Returns an array of all values of a specified optional or non- standard qualifier of the element.

See Also:
com.novell.ldap.LDAPSchemaElement.getID(java.lang.String)

getQualifierNames

public java.util.Enumeration getQualifierNames()
Returns an enumeration of all qualifiers of the element which are vendor specific (begin with "X-").

See Also:
com.novell.ldap.LDAPSchemaElement.getQualifierNames()

isObsolete

public boolean isObsolete()
Returns whether the element has the OBSOLETE qualifier in its LDAP definition.

See Also:
com.novell.ldap.LDAPSchemaElement.isObsolete()

toString

public java.lang.String toString()
Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element.

Overrides:
toString in class java.lang.Object
See Also:
com.novell.ldap.LDAPSchemaElement.toString()

setQualifier

public void setQualifier(java.lang.String name,
                         java.lang.String[] values)
Sets the values of a specified optional or non-standard qualifier of the element.

See Also:
com.novell.ldap.LDAPSchemaElement.setQualifier( java.lang.String, java.lang.String[])

All LDAP Classes
Internal LDAP Classes

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