Class ReplaceAttribute

  • All Implemented Interfaces:
    java.lang.Comparable<Attribute>, java.lang.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:
    GenericEntry.getChangeIterator()
    • Constructor Detail

    • Method Detail

      • toString

        public java.lang.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).