org.opends.server.replication.protocol
Class AddContext

java.lang.Object
  extended by org.opends.server.replication.protocol.OperationContext
      extended by org.opends.server.replication.protocol.AddContext

public class AddContext
extends OperationContext

This class describe the contexte that is attached to Add Operation.


Field Summary
 
Fields inherited from class org.opends.server.replication.protocol.OperationContext
SYNCHROCONTEXT
 
Constructor Summary
AddContext(ChangeNumber changeNumber, java.lang.String uid, java.lang.String parentUid)
          Creates a new AddContext with the provided information.
 
Method Summary
 java.lang.String getParentUid()
          Get the Unique Id of the parent of the added entry.
 
Methods inherited from class org.opends.server.replication.protocol.OperationContext
equals, getChangeNumber, getChangeNumber, getChangeNumber, getEntryUid, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddContext

public AddContext(ChangeNumber changeNumber,
                  java.lang.String uid,
                  java.lang.String parentUid)
Creates a new AddContext with the provided information.

Parameters:
changeNumber - The change number of the add operation.
uid - the Unique Id of the added entry.
parentUid - The unique Id of the parent of the added entry.
Method Detail

getParentUid

public java.lang.String getParentUid()
Get the Unique Id of the parent of the added entry.

Returns:
Returns the Unique Id of the parent of the added entry.