Package org.opends.server.util
Class ModifyDNChangeRecordEntry
- java.lang.Object
-
- org.opends.server.util.ChangeRecordEntry
-
- org.opends.server.util.ModifyDNChangeRecordEntry
-
@PublicAPI(stability=VOLATILE, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class ModifyDNChangeRecordEntry extends ChangeRecordEntry
This class defines a data structure for a change record entry for an modifyDN operation. It includes a DN and a set of attributes, as well as methods to decode the entry.
-
-
Constructor Summary
Constructors Constructor Description ModifyDNChangeRecordEntry(DN dn, RDN newRDN, boolean deleteOldRDN, DN newSuperiorDN)Creates a new entry with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeleteOldRDN()Get the new RDN for the requested modify DN operation.ChangeOperationTypegetChangeOperationType()Retrieves the name of the change operation type.RDNgetNewRDN()Get the new RDN for the requested modify DN operation.DNgetNewSuperiorDN()Get the new superior DN for the requested modify DN operation.StringtoString()-
Methods inherited from class org.opends.server.util.ChangeRecordEntry
getDN
-
-
-
-
Constructor Detail
-
ModifyDNChangeRecordEntry
public ModifyDNChangeRecordEntry(DN dn, RDN newRDN, boolean deleteOldRDN, DN newSuperiorDN)
Creates a new entry with the provided information.- Parameters:
dn- The distinguished name for this entry. It must not benull.newRDN- The new RDN. It must not benull.deleteOldRDN- Delete the old RDN?newSuperiorDN- The new superior DN. It may benullif the entry is not to be moved below a new parent.
-
-
Method Detail
-
getNewRDN
public RDN getNewRDN()
Get the new RDN for the requested modify DN operation.- Returns:
- the new RDN.
-
getNewSuperiorDN
public DN getNewSuperiorDN()
Get the new superior DN for the requested modify DN operation.- Returns:
- the new superior DN, or
nullif there is none.
-
deleteOldRDN
public boolean deleteOldRDN()
Get the new RDN for the requested modify DN operation.- Returns:
- the new RDN.
-
getChangeOperationType
public ChangeOperationType getChangeOperationType()
Retrieves the name of the change operation type.- Specified by:
getChangeOperationTypein classChangeRecordEntry- Returns:
- The name of the change operation type.
-
toString
public String toString()
- Specified by:
toStringin classChangeRecordEntry
-
-