org.identityconnectors.ldap.commons
Class AppendingAttributes
java.lang.Object
org.identityconnectors.ldap.commons.AppendingAttributes
- All Implemented Interfaces:
- Serializable, Cloneable, Attributes
public abstract class AppendingAttributes
- extends Object
- implements Attributes
An implementation of Attributes which delegates to a given
Attributes instance while adding some
attributes to the list if already not present, or replacing the existing
values if such attributes are present.
- See Also:
- Serialized Form
delegate
protected final Attributes delegate
AppendingAttributes
public AppendingAttributes(Attributes delegate)
getAttributeIDsToAppend
protected abstract Set<String> getAttributeIDsToAppend()
getAttributeToAppend
protected abstract Attribute getAttributeToAppend(String attrID)
clone
public abstract Object clone()
- Specified by:
clone in interface Attributes- Overrides:
clone in class Object
get
public final Attribute get(String attrID)
- Specified by:
get in interface Attributes
getAll
public final NamingEnumeration<? extends Attribute> getAll()
- Specified by:
getAll in interface Attributes
getIDs
public final NamingEnumeration<String> getIDs()
- Specified by:
getIDs in interface Attributes
isCaseIgnored
public final boolean isCaseIgnored()
- Specified by:
isCaseIgnored in interface Attributes
put
public final Attribute put(Attribute attr)
- Specified by:
put in interface Attributes
put
public final Attribute put(String attrID,
Object val)
- Specified by:
put in interface Attributes
remove
public final Attribute remove(String attrID)
- Specified by:
remove in interface Attributes
size
public final int size()
- Specified by:
size in interface Attributes
Copyright © 2012. All Rights Reserved.