org.opends.server.util
Class ModifyChangeRecordEntry

java.lang.Object
  extended by org.opends.server.util.ChangeRecordEntry
      extended by 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
ModifyChangeRecordEntry(DN dn, java.util.Collection<RawModification> modifications)
          Creates a new entry with the provided information.
 
Method Summary
 ChangeOperationType getChangeOperationType()
          Retrieves the name of the change operation type.
 java.util.List<RawModification> getModifications()
          Get the list of modifications.
 java.lang.String toString()
          Retrieves a string representation of this change record entry.
 
Methods inherited from class org.opends.server.util.ChangeRecordEntry
getDN
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyChangeRecordEntry

public ModifyChangeRecordEntry(DN dn,
                               java.util.Collection<RawModification> modifications)
Creates a new entry with the provided information.

Parameters:
dn - The distinguished name for this entry. It must not be null.
modifications - The modifications for this change record. It must not be null.
Method Detail

getModifications

public java.util.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:
getChangeOperationType in class ChangeRecordEntry
Returns:
The name of the change operation type.

toString

public java.lang.String toString()
Retrieves a string representation of this change record entry.

Specified by:
toString in class ChangeRecordEntry
Returns:
A string representation of this change record entry.