Package edu.vt.middleware.ldap.bean
Class AbstractLdapBean
- java.lang.Object
-
- edu.vt.middleware.ldap.bean.AbstractLdapBean
-
- Direct Known Subclasses:
AbstractLdapAttribute
,AbstractLdapAttributes
,AbstractLdapEntry
,AbstractLdapResult
public abstract class AbstractLdapBean extends java.lang.Object
AbstractLdapBean
provides common implementations to other bean objects.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description protected LdapBeanFactory
beanFactory
Factory for creating ldap beans.protected org.apache.commons.logging.Log
logger
Log for this class.
-
Constructor Summary
Constructors Constructor Description AbstractLdapBean(LdapBeanFactory lbf)
Creates a newAbstractLdapBean
with the supplied ldap bean factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Returns whether the suppliedObject
contains the same data as this bean.abstract int
hashCode()
This returns the hash code for this object.
-
-
-
Field Detail
-
logger
protected final org.apache.commons.logging.Log logger
Log for this class.
-
beanFactory
protected final LdapBeanFactory beanFactory
Factory for creating ldap beans.
-
-
Constructor Detail
-
AbstractLdapBean
public AbstractLdapBean(LdapBeanFactory lbf)
Creates a newAbstractLdapBean
with the supplied ldap bean factory.- Parameters:
lbf
-LdapBeanFactory
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
Returns whether the suppliedObject
contains the same data as this bean.- Overrides:
equals
in classjava.lang.Object
- Parameters:
o
-Object
- Returns:
boolean
-
hashCode
public abstract int hashCode()
This returns the hash code for this object.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
int
-
-