Package org.ldaptive.beans.reflect
Class DefaultDnValueMutator
- java.lang.Object
-
- org.ldaptive.beans.reflect.DefaultDnValueMutator
-
- All Implemented Interfaces:
DnValueMutator
public class DefaultDnValueMutator extends java.lang.Object implements DnValueMutator
Uses aAttributeValueMutatorto mutate the configured DN of an object.- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.LoggerloggerLogger for this class.
-
Constructor Summary
Constructors Constructor Description DefaultDnValueMutator(AttributeValueMutator mutator)Creates a new default dn value mutator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue(java.lang.Object object)Returns the DN value for the supplied object.voidsetValue(java.lang.Object object, java.lang.String value)Set the DN value for the supplied object.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DefaultDnValueMutator
public DefaultDnValueMutator(AttributeValueMutator mutator)
Creates a new default dn value mutator.- Parameters:
mutator- for the DN
-
-
Method Detail
-
getValue
public java.lang.String getValue(java.lang.Object object)
Description copied from interface:DnValueMutatorReturns the DN value for the supplied object.- Specified by:
getValuein interfaceDnValueMutator- Parameters:
object- to return the DN of- Returns:
- DN value
-
setValue
public void setValue(java.lang.Object object, java.lang.String value)Description copied from interface:DnValueMutatorSet the DN value for the supplied object.- Specified by:
setValuein interfaceDnValueMutator- Parameters:
object- to set the DN onvalue- of the DN
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-