org.apache.directory.mitosis.operation
Class ReplaceAttributeOperation
java.lang.Object
org.apache.directory.mitosis.operation.Operation
org.apache.directory.mitosis.operation.AttributeOperation
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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