Package org.ldaptive.beans
Class AbstractClassDescriptor.SimpleDnValueMutator
- java.lang.Object
-
- org.ldaptive.beans.AbstractClassDescriptor.SimpleDnValueMutator
-
- All Implemented Interfaces:
DnValueMutator
- Enclosing class:
- AbstractClassDescriptor
protected static class AbstractClassDescriptor.SimpleDnValueMutator extends Object implements DnValueMutator
Stores the DN value from aEntry
configuration. Setter method is a no-op.
-
-
Constructor Summary
Constructors Constructor Description SimpleDnValueMutator(String value)
Creates a new simple dn value mutator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
dn
private final String dn
DN value to store.
-
-
Constructor Detail
-
SimpleDnValueMutator
public SimpleDnValueMutator(String value)
Creates a new simple dn value mutator.- Parameters:
value
- that is the DN
-
-
Method Detail
-
getValue
public String getValue(Object object)
Description copied from interface:DnValueMutator
Returns the DN value for the supplied object.- Specified by:
getValue
in interfaceDnValueMutator
- Parameters:
object
- to return the DN of- Returns:
- DN value
-
setValue
public void setValue(Object object, String value)
Description copied from interface:DnValueMutator
Set the DN value for the supplied object.- Specified by:
setValue
in interfaceDnValueMutator
- Parameters:
object
- to set the DN onvalue
- of the DN
-
-