Package org.ldaptive.beans
Class AbstractClassDescriptor
java.lang.Object
org.ldaptive.beans.AbstractClassDescriptor
- All Implemented Interfaces:
ClassDescriptor
- Direct Known Subclasses:
DefaultClassDescriptor
,FieldClassDescriptor
,MethodClassDescriptor
,SpringClassDescriptor
Base implementation of a class descriptor. Stores a map of
AttributeValueMutator
and a DnValueMutator
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Stores anAttribute
configuration in anLdapAttribute
object.protected static class
Stores the DN value from aEntry
configuration. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<String, AttributeValueMutator> Attribute value mutators for this class.private DnValueMutator
Dn value mutator for this class.protected final org.slf4j.Logger
Logger for this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds attribute value mutators to this class descriptor.protected void
Adds an attribute value mutator to this class descriptor.Returns the attribute value mutator for the attribute with the supplied name.Returns the attribute value mutators for this type.Returns the DN value mutator for this type.protected void
setDnValueMutator
(DnValueMutator mutator) Sets the dn value mutator.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ldaptive.beans.ClassDescriptor
initialize
-
Field Details
-
logger
protected final org.slf4j.Logger loggerLogger for this class. -
attributeMutators
Attribute value mutators for this class. -
dnMutator
Dn value mutator for this class.
-
-
Constructor Details
-
AbstractClassDescriptor
public AbstractClassDescriptor()
-
-
Method Details
-
setDnValueMutator
Sets the dn value mutator.- Parameters:
mutator
- to set
-
addAttributeValueMutator
Adds an attribute value mutator to this class descriptor.- Parameters:
mutator
- to add
-
addAttributeValueMutator
Adds attribute value mutators to this class descriptor.- Parameters:
mutators
- to add
-
getDnValueMutator
Description copied from interface:ClassDescriptor
Returns the DN value mutator for this type.- Specified by:
getDnValueMutator
in interfaceClassDescriptor
- Returns:
- dn value mutator
-
getAttributeValueMutators
Description copied from interface:ClassDescriptor
Returns the attribute value mutators for this type.- Specified by:
getAttributeValueMutators
in interfaceClassDescriptor
- Returns:
- value mutators
-
getAttributeValueMutator
Description copied from interface:ClassDescriptor
Returns the attribute value mutator for the attribute with the supplied name.- Specified by:
getAttributeValueMutator
in interfaceClassDescriptor
- Parameters:
name
- of the attribute- Returns:
- value mutator
-
toString
-