Package com.isode.dsapi
Class AddAttribute
- java.lang.Object
-
- com.isode.dsapi.Attribute
-
- com.isode.dsapi.AddAttribute
-
- All Implemented Interfaces:
java.lang.Comparable<Attribute>
,java.lang.Iterable<AttributeValue>
public class AddAttribute extends Attribute
Representation of an add-attribute. This is just the same as an Attribute; only the class identifies it as being specific to an add operation. AddAttribute objects may be returned when iterating through the list of change Attributes on attached to aGenericEntry
object, and are the only type of Attributes returned fromAddEntry.getChangeIterator()
.- See Also:
GenericEntry.getChangeIterator()
-
-
Constructor Summary
Constructors Constructor Description AddAttribute(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
-
AddAttribute
public AddAttribute(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
-
-