|
||||||||||
| 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 LdapDN |
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 |
LdapDN |
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(LdapDN 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 LdapDN dn
protected java.util.Map<K,EntryAttribute> attributes
| Constructor Detail |
|---|
public AbstractEntry()
| Method Detail |
|---|
public LdapDN getDn()
getDn in interface Entrypublic void setDn(LdapDN dn)
setDn in interface Entrydn - The DN associated with this entrypublic void clear()
clear in interface Entrypublic java.util.Iterator<EntryAttribute> iterator()
iterator in interface java.lang.Iterable<EntryAttribute>iterator in interface Entrypublic int size()
size in interface Entrypublic Entry clone()
clone in interface Entryclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||