Interface LDAPModification


  • public interface LDAPModification
    Represents a data structure for holding information about an LDAP modification, which describes a change to apply to an attribute.
    • Method Detail

      • getAttributeName

        String getAttributeName()
        Returns the the name of the attribute to target with this modification.
        Returns:
        the the name of the attribute to target with this modification.
      • getModificationType

        LDAPModificationType getModificationType()
        Returns the modification type for this modification.
        Returns:
        the modification type for this modification.
      • getByteValueArray

        byte[][] getByteValueArray()
        Returns the values for this modification in an array of byte[] format.
        Returns:
        the array of modification values. Each element in the array will be of type byte[].
      • getStringValueArray

        String[] getStringValueArray()
        Returns the values for this modification in an array of String objects.
        Returns:
        the array of modification values. Each element in the array will be a String object.
      • hasValue

        boolean hasValue()
        Reports whether this modification has at least one value.
        Returns:
        true if this modification has one or more values, or false if not.
      • equals

        boolean equals​(Object obj)
        Reports whether the provided object is equal to this modification.
        Overrides:
        equals in class Object
        Parameters:
        obj - the object for which to make the check.
        Returns:
        true if the provided object is equal to this modification, or false if not.
      • hashCode

        int hashCode()
        Returns a hash code for this modification.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code for this modification.
      • toString

        String toString()
        Returns the string representation of this modification.
        Overrides:
        toString in class Object
        Returns:
        the string representation of this modification.