Package org.forgerock.opendj.ldap
Class AbstractEntry
java.lang.Object
org.forgerock.opendj.ldap.AbstractEntry
- All Implemented Interfaces:
Entry
- Direct Known Subclasses:
AbstractMapEntry
,CompactEntry
,Entries.NullEntry
This class provides a skeletal implementation of the
Entry
interface, to minimize the effort required to
implement this interface.-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.forgerock.opendj.ldap.Entry
addAttribute, addAttribute, addAttribute, addAttributeIfAbsent, clearAttributes, containsAnyAttributes, containsAnyAttributes, containsAttribute, containsAttribute, containsAttribute, getAllAttributes, getAllAttributes, getAllAttributes, getAttribute, getAttribute, getAttributeCount, getName, mergeAttribute, parseAttribute, parseAttribute, removeAttribute, removeAttribute, removeAttribute, replaceAttribute, replaceAttribute, setName, setName
-
Constructor Details
-
AbstractEntry
protected AbstractEntry()Default constructor.
-
-
Method Details
-
equals
Description copied from interface:Entry
Returnstrue
ifobject
is an entry which is equal to this entry. Two entries are considered equal if their distinguished names are equal, they both have the same number of attributes, and every attribute contained in the first entry is also contained in the second entry. -
hashCode
public int hashCode()Description copied from interface:Entry
Returns the hash code for this entry. It will be calculated as the sum of the hash codes of the distinguished name and all of the attributes. -
toString
Description copied from interface:Entry
Returns a string representation of this entry.
-