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.ObjectAbstractLdapBeanprovides 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 LdapBeanFactorybeanFactoryFactory for creating ldap beans.protected org.apache.commons.logging.LogloggerLog for this class.
-
Constructor Summary
Constructors Constructor Description AbstractLdapBean(LdapBeanFactory lbf)Creates a newAbstractLdapBeanwith the supplied ldap bean factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Returns whether the suppliedObjectcontains the same data as this bean.abstract inthashCode()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 newAbstractLdapBeanwith the supplied ldap bean factory.- Parameters:
lbf-LdapBeanFactory
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
Returns whether the suppliedObjectcontains the same data as this bean.- Overrides:
equalsin classjava.lang.Object- Parameters:
o-Object- Returns:
boolean
-
hashCode
public abstract int hashCode()
This returns the hash code for this object.- Overrides:
hashCodein classjava.lang.Object- Returns:
int
-
-