org.apache.directory.mitosis.operation
Class ReplaceAttributeOperation

java.lang.Object
  extended by org.apache.directory.mitosis.operation.Operation
      extended by org.apache.directory.mitosis.operation.AttributeOperation
          extended by org.apache.directory.mitosis.operation.ReplaceAttributeOperation
All Implemented Interfaces:
java.io.Serializable

public class ReplaceAttributeOperation
extends AttributeOperation

An Operation that replaces an attribute in an entry.

See Also:
Serialized Form

Constructor Summary
ReplaceAttributeOperation(CSN csn, LdapDN name, javax.naming.directory.Attribute attribute)
          Creates a new operation that replaces the specified attribute.
 
Method Summary
protected  void execute1(PartitionNexus nexus)
           
 java.lang.String toString()
          Returns string representation of this operation.
 
Methods inherited from class org.apache.directory.mitosis.operation.AttributeOperation
execute0, getAttribute, getName
 
Methods inherited from class org.apache.directory.mitosis.operation.Operation
execute, getCSN
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplaceAttributeOperation

public ReplaceAttributeOperation(CSN csn,
                                 LdapDN name,
                                 javax.naming.directory.Attribute attribute)
Creates a new operation that replaces the specified attribute.

Parameters:
attribute - an attribute to replace
Method Detail

toString

public java.lang.String toString()
Description copied from class: AttributeOperation
Returns string representation of this operation.

Overrides:
toString in class AttributeOperation
Returns:
the CSN for this operation

execute1

protected void execute1(PartitionNexus nexus)
                 throws javax.naming.NamingException
Specified by:
execute1 in class AttributeOperation
Throws:
javax.naming.NamingException