JavaScript is disabled on your browser.
gnu.inet.ldap

Class Modification



  • public final class Modification
    extends AttributeValues 
    An individual modification of an object's attributes.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      static int ADD
      Add the specified values to the attribute, creating the attribute if necessary.
      static int DELETE
      Delete the specified values from the given attribute, removing the entire attribute if no values are listed, or if all current values of the attribute are listed.
      protected int operation
      The operation specified by this modification.
      static int REPLACE
      Replace all existing values of the given attribute with the new values, creating the attribute if it did not exist.
    • Constructor Summary

      Constructors
      Constructor and Description
      Modification (int operation, java.lang.String type, java.util.Set values)
      Constructor.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      int getOperation ()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ADD

        public static final int ADD
        Add the specified values to the attribute, creating the attribute if necessary.
        See Also:
        Constant Field Values
      • DELETE

        public static final int DELETE
        Delete the specified values from the given attribute, removing the entire attribute if no values are listed, or if all current values of the attribute are listed.
        See Also:
        Constant Field Values
      • REPLACE

        public static final int REPLACE
        Replace all existing values of the given attribute with the new values, creating the attribute if it did not exist. A replace with no value deletes the entire attribute if it exists, and is ignored otherwise.
        See Also:
        Constant Field Values
      • operation

        protected final int operation
        The operation specified by this modification. One of: ADD, DELETE, or REPLACE
    • Constructor Detail

      • Modification

        public Modification(int operation,
         java.lang.String type,
         java.util.Set values)
        Constructor.
        Parameters:
        operation - the operation
        type - the attribute type
        values - the values to assign
    • Method Detail

      • getOperation

        public int getOperation()
        See Also:
        operation

AltStyle によって変換されたページ (->オリジナル) /