org.opends.server.util
Class ChangeRecordEntry

java.lang.Object
  extended by org.opends.server.util.ChangeRecordEntry
Direct Known Subclasses:
AddChangeRecordEntry, DeleteChangeRecordEntry, ModifyChangeRecordEntry, ModifyDNChangeRecordEntry

@PublicAPI(stability=VOLATILE,
           mayInstantiate=false,
           mayExtend=false,
           mayInvoke=true)
public abstract class ChangeRecordEntry
extends java.lang.Object

This abstract class defines methods for a change record entry. It includes operations to get the DN, as well as methods to decode the entry.


Constructor Summary
protected ChangeRecordEntry(DN dn)
          Creates a new change record entry with the provided information.
 
Method Summary
abstract  ChangeOperationType getChangeOperationType()
          Retrieves the name of the change operation type.
 DN getDN()
          Retrieves the distinguished name for this entry.
abstract  java.lang.String toString()
          Retrieves a string representation of this change record entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeRecordEntry

protected ChangeRecordEntry(DN dn)
Creates a new change record entry with the provided information.

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

getDN

public final DN getDN()
Retrieves the distinguished name for this entry.

Returns:
The distinguished name for this entry.

getChangeOperationType

public abstract ChangeOperationType getChangeOperationType()
Retrieves the name of the change operation type.

Returns:
The name of the change operation type.

toString

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

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this change record entry.