Class ReplaceAttribute

java.lang.Object
com.isode.dsapi.Attribute
com.isode.dsapi.ReplaceAttribute
All Implemented Interfaces:
Comparable<Attribute>, Iterable<AttributeValue>

public class ReplaceAttribute extends Attribute
Representation of a replace-attribute. This class-type indicates that on applying this attribute to an entry, the current values will be deleted and replaced with the given set of values. Internally this is just the same as an Attribute. Only the class identifies this as being different.

ReplaceAttribute objects may be returned when iterating through the list of change Attributes on attached to a GenericEntry object.

See Also:
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Description copied from class: Attribute
      Returns a String representation of this Attribute.
      Overrides:
      toString in class Attribute
      Returns:
      a String representation of this Attribute (not null).