Package com.isode.dsapi
Class DeleteEntry
- java.lang.Object
-
- com.isode.dsapi.GenericEntry
-
- com.isode.dsapi.ChangeEntry
-
- com.isode.dsapi.DeleteEntry
-
- All Implemented Interfaces:
java.lang.Comparable<GenericEntry>
,java.lang.Iterable<Attribute>
public class DeleteEntry extends ChangeEntry
A DeleteEntry is used to represent the deletion of an entry on the directory. It can be constructed directly, or loaded from an LDIF file. Once constructed, it can be applied to the directory, or saved to an LDIF file.- Author:
- jp
-
-
Field Summary
-
Fields inherited from class com.isode.dsapi.GenericEntry
attributeList, DS_Entry, logger
-
-
Constructor Summary
Constructors Constructor Description DeleteEntry(DN dn)
Create a new DeleteEntry with the specified DN.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns a String representation of this DeleteEntry.-
Methods inherited from class com.isode.dsapi.ChangeEntry
addAttribute, append, deleteAttribute, diff, jni_diff, replaceAttribute
-
Methods inherited from class com.isode.dsapi.GenericEntry
compareTo, finalize, getAttributeIterator, getChangeIterator, getDN, hasChanges, iterator, setDN, sortArrayByDN, toLDIF
-
-
-
-
Constructor Detail
-
DeleteEntry
public DeleteEntry(DN dn)
Create a new DeleteEntry with the specified DN.- Parameters:
dn
- the DN to delete (must not be null)- Throws:
java.lang.NullPointerException
- if dn is nullNativeLibraryException
- if an unrecoverable error was detected by the native library
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a String representation of this DeleteEntry.- Overrides:
toString
in classChangeEntry
- Returns:
- a String representation of the entry.
-
-