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 a Entry configuration. Setter method is a no-op.
  • Field Details

    • dn

      private final String dn
      DN value to store.
  • Constructor Details

    • SimpleDnValueMutator

      public SimpleDnValueMutator(String value)
      Creates a new simple dn value mutator.
      Parameters:
      value - that is the DN
  • Method Details

    • getValue

      public String getValue(Object object)
      Description copied from interface: DnValueMutator
      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)
      Description copied from interface: DnValueMutator
      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