Package org.opends.server.util
Class ModifyChangeRecordEntry
- java.lang.Object
-
- org.opends.server.util.ChangeRecordEntry
-
- org.opends.server.util.ModifyChangeRecordEntry
-
@PublicAPI(stability=VOLATILE, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class ModifyChangeRecordEntry extends ChangeRecordEntry
This class defines a data structure for a change record entry for an modify operation. It includes a DN and a set of attributes, as well as methods to decode the entry.
-
-
Constructor Summary
Constructors Constructor Description ModifyChangeRecordEntry(DN dn, Collection<RawModification> modifications)Creates a new entry with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeOperationTypegetChangeOperationType()Retrieves the name of the change operation type.List<RawModification>getModifications()Get the list of modifications.StringtoString()-
Methods inherited from class org.opends.server.util.ChangeRecordEntry
getDN
-
-
-
-
Constructor Detail
-
ModifyChangeRecordEntry
public ModifyChangeRecordEntry(DN dn, Collection<RawModification> modifications)
Creates a new entry with the provided information.- Parameters:
dn- The distinguished name for this entry. It must not benull.modifications- The modifications for this change record. It must not benull.
-
-
Method Detail
-
getModifications
public List<RawModification> getModifications()
Get the list of modifications.The returned list is read-only.
- Returns:
- Returns the unmodifiable list of modifications.
-
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
-
-