Package com.isode.dsapi
Class DeleteAttribute
- java.lang.Object
-
- com.isode.dsapi.Attribute
-
- com.isode.dsapi.DeleteAttribute
-
- All Implemented Interfaces:
java.lang.Comparable<Attribute>
,java.lang.Iterable<AttributeValue>
public class DeleteAttribute extends Attribute
Representation of a delete-attribute. If there are no values, this indicates deletion of all values with this attribute-type. If there are values, then it indicates deletion of specific values that match the values specified. Internally this is exactly the same as an Attribute. Only the class identifies this as being different.DeleteAttribute 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 DeleteAttribute(AttributeType attrType)
Create an empty new AddAttribute 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
-
DeleteAttribute
public DeleteAttribute(AttributeType attrType) throws NativeLibraryException
Create an empty new AddAttribute object.- Parameters:
attrType
- attribute type- Throws:
NativeLibraryException
- if an unrecoverable error was detected by the native library
-
-