public interface Modification extends Cloneable, Externalizable
Modifier and Type | Method and Description |
---|---|
void |
apply(AttributeType attributeType)
Apply the AttributeType to the Modification
|
Modification |
clone()
The clone operation
|
Attribute |
getAttribute() |
ModificationOperation |
getOperation() |
void |
setAttribute(Attribute attribute)
Set the attribute's modification
|
void |
setOperation(int operation)
Store the modification operation
|
void |
setOperation(ModificationOperation operation)
Store the modification operation
|
readExternal, writeExternal
ModificationOperation getOperation()
void setOperation(int operation)
operation
- The DirContext value to assignvoid setOperation(ModificationOperation operation)
operation
- The ModificationOperation value to assignAttribute getAttribute()
void setAttribute(Attribute attribute)
attribute
- The modified attributeModification clone()
void apply(AttributeType attributeType) throws LdapInvalidAttributeValueException
AttributeType
- the injected AttributeTypeLdapInvalidAttributeValueException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.