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 TypeMethodDescriptionvoidapply(DOMStoreWriteTransaction transaction) Apply the modification to the specified transaction.voidapply(DataTreeModification transaction) Apply the modification to the specified transaction.bytegetType()voidvoidvoid 
- 
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:
 writeExternalin interfaceExternalizable- Throws:
 IOException
 - 
readExternal
- Specified by:
 readExternalin interfaceExternalizable- Throws:
 IOExceptionClassNotFoundException
 - 
writeTo
- Throws:
 IOException
 
 -