org.apache.directory.mitosis.operation
Class AddAttributeOperation

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.AddAttributeOperation
All Implemented Interfaces:
java.io.Serializable

public class AddAttributeOperation
extends AttributeOperation

An Operation that adds an attribute to an entry.

See Also:
Serialized Form

Constructor Summary
AddAttributeOperation(CSN csn, LdapDN name, javax.naming.directory.Attribute attribute)
          Creates a new operation that adds 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

AddAttributeOperation

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

Parameters:
attribute - an attribute to add
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