Class Modification

java.lang.Object
org.forgerock.opendj.ldap.Modification

public final class Modification extends Object
A modification to be performed on an entry during a Modify operation.
  • Constructor Details

    • Modification

      public Modification(ModificationType modificationType, Attribute attribute)
      Creates a new modification having the provided modification type and attribute values to be updated. Note that while the returned Modification is immutable, the underlying attribute may not be. The following code ensures that the returned Modification is fully immutable:
       Modification change = new Modification(modificationType, Attributes
               .unmodifiableAttribute(attribute));
       
      Parameters:
      modificationType - The type of modification to be performed.
      attribute - The the attribute containing the values to be modified.
  • Method Details