|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.ldap.LdapEntry
public class LdapEntry
Stores the names and values of the attributes for an LDAP entry. Although the values can be any Serializable Object, the methods used to retrieve values convert them to Strings. Currently DLESE's use of attributes is entirely Strings; at some future point we may choose to store Objects in attribute values.
Constructor Summary | |
---|---|
LdapEntry(String dn)
|
Method Summary | |
---|---|
String |
getAttrName(int ii)
Returns the attribute name stored in the specified row of the attrs matrix. |
String[] |
getAttrNames()
Returns a 1-dimensional array of the attribute names stored in the attrs matrix. |
int |
getAttrsRows()
Returns the number of rows in the attrs matrix. |
String[] |
getAttrStrings(int irow)
Returns a 1-dimensional array of the values associated with the specified row of the attrs matrix. |
String[] |
getAttrStrings(String attrName)
Returns a 1-dimensional array of the values associated with the specified attribute name. |
String |
getDn()
Returns the dn (distinguished name) associated with this entry. |
String |
toString()
Returns a String representation of the entire set of attributes represented by this LdapEntry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LdapEntry(String dn)
Method Detail |
---|
public String toString()
toString
in class Object
public String getDn()
public int getAttrsRows()
attrs
matrix.
public String[] getAttrNames()
attrs
matrix.
public String getAttrName(int ii)
attrs
matrix.
public String[] getAttrStrings(int irow)
attrs
matrix.
If no values were associated with the attribute name,
returns a length 0 array.
public String[] getAttrStrings(String attrName)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |