Package com.isode.dsapi
Class ReplaceAttribute
java.lang.Object
com.isode.dsapi.Attribute
com.isode.dsapi.ReplaceAttribute
- All Implemented Interfaces:
Comparable<Attribute>
,Iterable<AttributeValue>
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:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionReplaceAttribute
(AttributeType attrType) Create an empty new ReplaceAttribute object. -
Method Summary
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
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ReplaceAttribute
Create an empty new ReplaceAttribute object.- Parameters:
attrType
- attribute type- Throws:
NativeLibraryException
- if an unrecoverable error was detected by the native library
-
-
Method Details