public abstract class AbstractClassDescriptor extends java.lang.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 java.util.Map<java.lang.String,AttributeValueMutator> |
attributeMutators
Attribute value mutators for this class.
|
private DnValueMutator |
dnMutator
Dn value mutator for this class.
|
protected org.slf4j.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(java.util.Collection<AttributeValueMutator> mutators)
Adds attribute value mutators to this class descriptor.
|
AttributeValueMutator |
getAttributeValueMutator(java.lang.String name)
Returns the attribute value mutator for the attribute with the supplied name.
|
java.util.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.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitializeprotected final org.slf4j.Logger logger
private final java.util.Map<java.lang.String,AttributeValueMutator> attributeMutators
private DnValueMutator dnMutator
protected void setDnValueMutator(DnValueMutator mutator)
mutator - to setprotected void addAttributeValueMutator(AttributeValueMutator mutator)
mutator - to addprotected void addAttributeValueMutator(java.util.Collection<AttributeValueMutator> mutators)
mutators - to addpublic DnValueMutator getDnValueMutator()
ClassDescriptorgetDnValueMutator in interface ClassDescriptorpublic java.util.Collection<AttributeValueMutator> getAttributeValueMutators()
ClassDescriptorgetAttributeValueMutators in interface ClassDescriptorpublic AttributeValueMutator getAttributeValueMutator(java.lang.String name)
ClassDescriptorgetAttributeValueMutator in interface ClassDescriptorname - of the attributepublic java.lang.String toString()
toString in class java.lang.Object