|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.entry.AbstractEntry<K>
public abstract class AbstractEntry<K>
The Abstract class where all the DefaultClientEntry and DefaultServerEntry common fields and methods will be found.
Field Summary | |
---|---|
protected java.util.Map<K,EntryAttribute> |
attributes
A map containing all the attributes for this entry |
protected DN |
dn
The DN for this entry |
Constructor Summary | |
---|---|
AbstractEntry()
|
Method Summary | |
---|---|
void |
clear()
Remove all the attributes for this entry. |
Entry |
clone()
Clone the current entry |
DN |
getDn()
Get this entry's DN. |
java.util.Iterator<EntryAttribute> |
iterator()
Returns an enumeration containing the zero or more attributes in the collection. |
void |
setDn(DN dn)
Set this entry's DN. |
int |
size()
Returns the number of attributes. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.directory.shared.ldap.entry.Entry |
---|
add, add, add, add, contains, contains, contains, contains, containsAttribute, get, hasObjectClass, put, put, put, put, remove, remove, remove, remove, removeAttributes, set |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Field Detail |
---|
protected DN dn
protected java.util.Map<K,EntryAttribute> attributes
Constructor Detail |
---|
public AbstractEntry()
Method Detail |
---|
public DN getDn()
getDn
in interface Entry
public void setDn(DN dn)
setDn
in interface Entry
dn
- The DN associated with this entrypublic void clear()
clear
in interface Entry
public java.util.Iterator<EntryAttribute> iterator()
iterator
in interface java.lang.Iterable<EntryAttribute>
iterator
in interface Entry
public int size()
size
in interface Entry
public Entry clone()
clone
in interface Entry
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |