org.ldaptive.beans
Class AbstractClassDescriptor.SimpleDnValueMutator

java.lang.Object
  extended by org.ldaptive.beans.AbstractClassDescriptor.SimpleDnValueMutator
All Implemented Interfaces:
DnValueMutator
Enclosing class:
AbstractClassDescriptor

protected class AbstractClassDescriptor.SimpleDnValueMutator
extends Object
implements DnValueMutator

Stores the DN value from a Entry configuration. Setter method is a no-op.


Constructor Summary
AbstractClassDescriptor.SimpleDnValueMutator(String value)
          Creates a new simple 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClassDescriptor.SimpleDnValueMutator

public AbstractClassDescriptor.SimpleDnValueMutator(String value)
Creates a new simple dn value mutator.

Parameters:
value - that is 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


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