|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.bean.AbstractLdapBean
edu.vt.middleware.ldap.bean.AbstractLdapEntry
public abstract class AbstractLdapEntry
AbstractLdapEntry provides a base implementation of
LdapEntry.
| Field Summary | |
|---|---|
protected String |
dn
Distinguished name for this entry. |
protected static int |
HASH_CODE_SEED
hash code seed. |
protected LdapAttributes |
ldapAttributes
Attributes contained in this entry. |
| Fields inherited from class edu.vt.middleware.ldap.bean.AbstractLdapBean |
|---|
beanFactory, logger |
| Constructor Summary | |
|---|---|
AbstractLdapEntry(LdapBeanFactory lbf)
Creates a new AbstractLdapEntry with the supplied ldap bean
factory. |
|
| Method Summary | |
|---|---|
String |
getDn()
This returns the DN for this LdapEntry. |
LdapAttributes |
getLdapAttributes()
This returns the LdapAttributes for this
LdapEntry. |
int |
hashCode()
This returns the hash code for this object. |
void |
setDn(String dn)
This sets the DN for this LdapEntry. |
void |
setEntry(SearchResult sr)
This sets this LdapEntry with the supplied search result. |
void |
setLdapAttributes(LdapAttributes a)
This sets the attributes for this LdapEntry. |
SearchResult |
toSearchResult()
This returns a SearchResult that represents this entry. |
String |
toString()
This returns a string representation of this object. |
| Methods inherited from class edu.vt.middleware.ldap.bean.AbstractLdapBean |
|---|
equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int HASH_CODE_SEED
protected String dn
protected LdapAttributes ldapAttributes
| Constructor Detail |
|---|
public AbstractLdapEntry(LdapBeanFactory lbf)
AbstractLdapEntry with the supplied ldap bean
factory.
lbf - LdapBeanFactory| Method Detail |
|---|
public String getDn()
LdapEntry.
getDn in interface LdapEntryStringpublic LdapAttributes getLdapAttributes()
LdapAttributes for this
LdapEntry.
getLdapAttributes in interface LdapEntryLdapAttributes
public void setEntry(SearchResult sr)
throws NamingException
LdapEntry with the supplied search result.
setEntry in interface LdapEntrysr - SearchResult
NamingException - if the search result cannot be readpublic void setDn(String dn)
LdapEntry.
setDn in interface LdapEntrydn - Stringpublic void setLdapAttributes(LdapAttributes a)
LdapEntry.
setLdapAttributes in interface LdapEntrya - LdapAttributepublic int hashCode()
hashCode in class AbstractLdapBeanintpublic String toString()
toString in class ObjectStringpublic SearchResult toSearchResult()
SearchResult that represents this entry.
toSearchResult in interface LdapEntrySearchResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||