public abstract class AbstractEntry<K> extends Object implements Entry
Modifier and Type | Field and Description |
---|---|
protected Map<K,EntryAttribute> |
attributes
A map containing all the attributes for this entry
|
protected DN |
dn
The DN for this entry
|
Constructor and Description |
---|
AbstractEntry() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Remove all the attributes for this entry.
|
Entry |
clone()
Clone the current entry
|
DN |
getDn()
Get this entry's DN.
|
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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, add, add, contains, contains, contains, contains, containsAttribute, get, hasObjectClass, put, put, put, put, remove, remove, remove, remove, removeAttributes, set
readExternal, writeExternal
protected DN dn
protected Map<K,EntryAttribute> attributes
public DN getDn()
public void setDn(DN dn)
public void clear()
public Iterator<EntryAttribute> iterator()
iterator
in interface Iterable<EntryAttribute>
iterator
in interface Entry
public int size()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.