public abstract class AbstractClassDescriptor extends Object implements ClassDescriptor
AttributeValueMutator
and a DnValueMutator
.Modifier and Type | Class and Description |
---|---|
protected class |
AbstractClassDescriptor.SimpleAttributeValueMutator
Stores an
Attribute configuration in an LdapAttribute object. |
protected class |
AbstractClassDescriptor.SimpleDnValueMutator
Stores the DN value from a
Entry configuration. |
Modifier and Type | Field and Description |
---|---|
private Map<String,AttributeValueMutator> |
attributeMutators
Attribute value mutators for this class.
|
private DnValueMutator |
dnMutator
Dn value mutator for this class.
|
protected Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
AbstractClassDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributeValueMutator(AttributeValueMutator mutator)
Adds an attribute value mutator to this class descriptor.
|
protected void |
addAttributeValueMutator(Collection<AttributeValueMutator> mutators)
Adds attribute value mutators to this class descriptor.
|
AttributeValueMutator |
getAttributeValueMutator(String name)
Returns the attribute value mutator for the attribute with the supplied name.
|
Collection<AttributeValueMutator> |
getAttributeValueMutators()
Returns the attribute value mutators for this type.
|
DnValueMutator |
getDnValueMutator()
Returns the DN value mutator for this type.
|
protected void |
setDnValueMutator(DnValueMutator mutator)
Sets the dn value mutator.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize
protected final Logger logger
private final Map<String,AttributeValueMutator> attributeMutators
private DnValueMutator dnMutator
protected void setDnValueMutator(DnValueMutator mutator)
mutator
- to setprotected void addAttributeValueMutator(AttributeValueMutator mutator)
mutator
- to addprotected void addAttributeValueMutator(Collection<AttributeValueMutator> mutators)
mutators
- to addpublic DnValueMutator getDnValueMutator()
ClassDescriptor
getDnValueMutator
in interface ClassDescriptor
public Collection<AttributeValueMutator> getAttributeValueMutators()
ClassDescriptor
getAttributeValueMutators
in interface ClassDescriptor
public AttributeValueMutator getAttributeValueMutator(String name)
ClassDescriptor
getAttributeValueMutator
in interface ClassDescriptor
name
- of the attributeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.