public class MutableCompositeModification extends VersionedExternalizableMessage implements CompositeModification
COMPOSITE, DELETE, MERGE, WRITE| Constructor and Description |
|---|
MutableCompositeModification() |
MutableCompositeModification(short version) |
| Modifier and Type | Method and Description |
|---|---|
void |
addModification(Modification modification)
Add a new Modification to the list of Modifications represented by this composite.
|
void |
addModifications(Iterable<Modification> newMods) |
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.
|
static MutableCompositeModification |
fromSerializable(Object serializable) |
List<Modification> |
getModifications()
Get a list of modifications contained by this composite.
|
byte |
getType() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
getVersion, toSerializable, toStringpublic MutableCompositeModification()
public MutableCompositeModification(short version)
public void apply(org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction transaction)
Modificationapply in interface Modificationtransaction - the transactionpublic void apply(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification transaction)
Modificationapply in interface Modificationtransaction - the transactionpublic byte getType()
getType in interface Modificationpublic void addModification(Modification modification)
modification - the modification to add.public void addModifications(Iterable<Modification> newMods)
public List<Modification> getModifications()
CompositeModificationgetModifications in interface CompositeModificationpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class VersionedExternalizableMessageIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class VersionedExternalizableMessageIOExceptionpublic static MutableCompositeModification fromSerializable(Object serializable)
Copyright © 2019 OpenDaylight. All rights reserved.