org.ldaptive.beans.reflect
Class DefaultDnValueMutator

java.lang.Object
  extended by org.ldaptive.beans.reflect.DefaultDnValueMutator
All Implemented Interfaces:
DnValueMutator

public class DefaultDnValueMutator
extends Object
implements DnValueMutator

Uses a AttributeValueMutator to mutate the configured DN of an object.

Version:
$Revision: 3013 $ $Date: 2014-07-02 11:26:52 -0400 (Wed, 02 Jul 2014) $
Author:
Middleware Services

Field Summary
protected  org.slf4j.Logger logger
          Logger for this class.
 
Constructor Summary
DefaultDnValueMutator(AttributeValueMutator mutator)
          Creates a new default dn value mutator.
 
Method Summary
 String getValue(Object object)
          Returns the DN value for the supplied object.
 void setValue(Object object, String value)
          Set the DN value for the supplied object.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected final org.slf4j.Logger logger
Logger for this class.

Constructor Detail

DefaultDnValueMutator

public DefaultDnValueMutator(AttributeValueMutator mutator)
Creates a new default dn value mutator.

Parameters:
mutator - for the DN
Method Detail

getValue

public String getValue(Object object)
Returns the DN value for the supplied object.

Specified by:
getValue in interface DnValueMutator
Parameters:
object - to return the DN of
Returns:
DN value

setValue

public void setValue(Object object,
                     String value)
Set the DN value for the supplied object.

Specified by:
setValue in interface DnValueMutator
Parameters:
object - to set the DN on
value - of the DN

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.