Package com.isode.dsapi
Class ReplaceAttribute
- java.lang.Object
-
- com.isode.dsapi.Attribute
-
- com.isode.dsapi.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 Summary
Constructors Constructor Description ReplaceAttribute(AttributeType attrType)
Create an empty new ReplaceAttribute object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns a String representation of this Attribute.-
Methods inherited from class com.isode.dsapi.Attribute
addValue, addValue, clearValuesList, compareTo, equals, exactCompareTo, exactEquals, finalize, getAttributeName, getAttributeType, getNormalizedAttribute, getSyntaxID, getSyntaxName, getValue, getValueCount, hasAttributeType, hashCode, hasSyntax, iterator, relocate, relocate
-
-
-
-
Constructor Detail
-
ReplaceAttribute
public ReplaceAttribute(AttributeType attrType) throws NativeLibraryException
Create an empty new ReplaceAttribute object.- Parameters:
attrType
- attribute type- Throws:
NativeLibraryException
- if an unrecoverable error was detected by the native library
-
-