Interface Modification
- All Superinterfaces:
Externalizable
,Serializable
- All Known Subinterfaces:
CompositeModification
- All Known Implementing Classes:
AbstractModification
,BatchedModifications
,DeleteModification
,MergeModification
,MutableCompositeModification
,WriteModification
Represents a modification to the data store.
Simple modifications can be of type,
Modifications can in turn be lumped into a single
CompositeModification
which can then be applied to a write transaction.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(DOMStoreWriteTransaction transaction) Apply the modification to the specified transaction.void
apply
(DataTreeModification transaction) Apply the modification to the specified transaction.byte
getType()
void
void
void
-
Field Details
-
COMPOSITE
static final byte COMPOSITE- See Also:
-
WRITE
static final byte WRITE- See Also:
-
MERGE
static final byte MERGE- See Also:
-
DELETE
static final byte DELETE- See Also:
-
-
Method Details
-
apply
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
apply
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
getType
byte getType() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeTo
- Throws:
IOException
-