|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ietf.ldap.LDAPAttribute | +--org.ietf.ldap.LDAPSchemaElement | +--org.ietf.ldap.LDAPAttributeSchema
Represents the schematic definition of a particular attribute in a particular Directory Server.
Field Summary | |
static int |
DIRECTORY_OPERATION
Indicates that the attribute usage is for directory operations. |
static int |
DISTRIBUTED_OPERATION
Indicates that the attribute usage is for distributed operational attributes. |
static int |
DSA_OPERATION
Indicates that the attribute usage is for local operational attributes. |
static int |
USER_APPLICATIONS
Indicates that the attribute usage is for ordinary application or user data. |
Constructor Summary | |
LDAPAttributeSchema(java.lang.String raw)
Constructs an attribute definition from the raw string value returned on a directory query for "attributetypes". |
|
LDAPAttributeSchema(java.lang.String[] names,
java.lang.String oid,
java.lang.String description,
java.lang.String syntaxString,
boolean single,
java.lang.String superior,
boolean obsolete,
java.lang.String equality,
java.lang.String ordering,
java.lang.String substring,
boolean collective,
boolean userMod,
int usage)
Constructs an attribute definition for adding to or deleting from a directory's schema. |
Method Summary | |
java.lang.String |
getEqualityMatchingRule()
Returns the matching rule for this attribute. |
java.lang.String |
getOrderingMatchingRule()
Returns the ordering matching rule for this attribute. |
java.lang.String |
getSubstringMatchingRule()
Returns the substring matching rule for this attribute. |
java.lang.String |
getSuperior()
Returns the name of the attribute type which this attribute derives from, or null if there is no superior attribute. |
java.lang.String |
getSyntaxString()
Returns the object identifer of the syntax of the attribute, in dotted numerical format. |
int |
getUsage()
Returns the usage of the attribute. |
boolean |
isCollective()
Returns true if the attribute is a collective attribute. |
boolean |
isSingleValued()
Returns true if the attribute is single-valued. |
boolean |
isUserModifiable()
Returns false if the attribute is read-only. |
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 |
public static final int USER_APPLICATIONS
public static final int DIRECTORY_OPERATION
public static final int DISTRIBUTED_OPERATION
public static final int DSA_OPERATION
Constructor Detail |
public LDAPAttributeSchema(java.lang.String[] names, java.lang.String oid, java.lang.String description, java.lang.String syntaxString, boolean single, java.lang.String superior, boolean obsolete, java.lang.String equality, java.lang.String ordering, java.lang.String substring, boolean collective, boolean userMod, int usage)
public LDAPAttributeSchema(java.lang.String raw)
Method Detail |
public java.lang.String getSyntaxString()
public java.lang.String getSuperior()
public boolean isSingleValued()
public java.lang.String getEqualityMatchingRule()
public java.lang.String getOrderingMatchingRule()
public java.lang.String getSubstringMatchingRule()
public boolean isCollective()
public boolean isUserModifiable()
public int getUsage()
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |