public interface Modification extends Externalizable
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.
Modifier and Type | Field and Description |
---|---|
static byte |
COMPOSITE |
static byte |
DELETE |
static byte |
MERGE |
static byte |
WRITE |
Modifier and Type | Method and Description |
---|---|
void |
apply(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification transaction)
Apply the modification to the specified transaction.
|
void |
apply(org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction transaction)
Apply the modification to the specified transaction.
|
byte |
getType() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
void |
writeTo(NormalizedNodeDataOutput out) |
static final byte COMPOSITE
static final byte WRITE
static final byte MERGE
static final byte DELETE
void apply(org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction transaction)
transaction
- the transactionvoid apply(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification transaction)
transaction
- the transactionbyte getType()
void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
void writeTo(NormalizedNodeDataOutput out) throws IOException
IOException
Copyright © 2019 OpenDaylight. All rights reserved.