|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPAttribute com.novell.ldap.LDAPSchemaElement com.novell.ldap.LDAPNameFormSchema
A specific a name form in the directory schema.
The LDAPNameFormSchema class represents the definition of a Name Form. It is used to discover or modify the allowed naming attributes for a particular object class.
LDAPSchemaElement
,
LDAPSchema
,
Serialized FormField Summary |
Fields inherited from class com.novell.ldap.LDAPSchemaElement |
description, hashQualifier, names, obsolete, oid, qualifier |
Constructor Summary | |
LDAPNameFormSchema()
This constructor was added to support default Serialization |
|
LDAPNameFormSchema(java.lang.String raw)
|
|
LDAPNameFormSchema(java.lang.String[] names,
java.lang.String oid,
java.lang.String description,
boolean obsolete,
java.lang.String objectClass,
java.lang.String[] required,
java.lang.String[] optional)
Constructs a name form for adding to or deleting from the schema. |
Method Summary | |
protected java.lang.String |
formatString()
Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element class. |
java.lang.String |
getObjectClass()
Returns the name of the object class which this name form applies to. |
java.lang.String[] |
getOptionalNamingAttributes()
Returns the list of optional naming attributes for an entry controlled by this content rule. |
java.lang.String[] |
getRequiredNamingAttributes()
Returns the list of required naming attributes for an entry controlled by this name form. |
static java.lang.Object |
readDSML(java.io.InputStream input)
This method is used to deserialize the DSML encoded representation of this class. |
protected void |
setDeserializedValues(java.io.BufferedInputStream istream)
|
protected void |
writeValue(java.lang.StringBuffer buff)
|
protected void |
writeValue(java.io.Writer out)
|
Methods inherited from class com.novell.ldap.LDAPSchemaElement |
addValue, addValue, getDescription, getID, getNames, getQualifier, getQualifierNames, isObsolete, removeValue, removeValue, setQualifier, toString |
Methods inherited from class com.novell.ldap.LDAPAttribute |
addBase64Value, addBase64Value, addBase64Value, addURLValue, addURLValue, addValue, clone, compareTo, getBaseName, getBaseName, getByteValue, getByteValueArray, getByteValues, getLangSubtype, getName, getStringValue, getStringValueArray, getStringValues, getSubtypes, getSubtypes, hasSubtype, hasSubtypes, readExternal, removeValue, setValue, size, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPNameFormSchema()
public LDAPNameFormSchema(java.lang.String[] names, java.lang.String oid, java.lang.String description, boolean obsolete, java.lang.String objectClass, java.lang.String[] required, java.lang.String[] optional)
names
- The name(s) of the name form.oid
- The unique object identifier of the name form - in
dotted numerical format.description
- An optional description of the name form.obsolete
- True if the name form is obsolete.objectClass
- The object to which this name form applies.
This may be specified by either name or
numeric oid.required
- A list of the attributes that must be present
in the RDN of an entry that this name form
controls. These attributes may be specified by
either name or numeric oid.optional
- A list of the attributes that may be present
in the RDN of an entry that this name form
controls. These attributes may be specified by
either name or numeric oid.public LDAPNameFormSchema(java.lang.String raw)
Method Detail |
public java.lang.String getObjectClass()
public java.lang.String[] getRequiredNamingAttributes()
public java.lang.String[] getOptionalNamingAttributes()
protected java.lang.String formatString()
formatString
in class LDAPSchemaElement
protected void setDeserializedValues(java.io.BufferedInputStream istream) throws java.io.IOException
setDeserializedValues
in class LDAPAttribute
java.io.IOException
protected void writeValue(java.io.Writer out) throws java.io.IOException
writeValue
in class LDAPAttribute
java.io.IOException
protected void writeValue(java.lang.StringBuffer buff)
writeValue
in class LDAPAttribute
public static java.lang.Object readDSML(java.io.InputStream input) throws java.io.IOException
input
- InputStream for the DSML formatted data.
java.io.IOException
- when serialization fails.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |