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
- If one of the value is not validCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.