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 aEntryconfiguration. 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 StringgetValue(Object object)Returns the DN value for the supplied object.voidsetValue(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: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(Object object, 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
-
-