Class DeleteModification
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.modification.AbstractModification
-
- org.opendaylight.controller.cluster.datastore.modification.DeleteModification
-
- All Implemented Interfaces:
Externalizable,Serializable,Modification
public class DeleteModification extends AbstractModification
DeleteModification store all the parameters required to delete a path from the data tree.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE
-
-
Constructor Summary
Constructors Constructor Description DeleteModification()DeleteModification(short version)DeleteModification(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction transaction)Apply the modification to the specified transaction.voidapply(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification transaction)Apply the modification to the specified transaction.static DeleteModificationfromStream(org.opendaylight.yangtools.yang.data.codec.binfmt.NormalizedNodeDataInput in, short version)bytegetType()voidreadExternal(ObjectInput in)voidwriteExternal(ObjectOutput out)voidwriteTo(org.opendaylight.yangtools.yang.data.codec.binfmt.NormalizedNodeDataOutput out)-
Methods inherited from class org.opendaylight.controller.cluster.datastore.modification.AbstractModification
getPath, getVersion, setPath
-
-
-
-
Method Detail
-
apply
public void apply(org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction transaction)
Description copied from interface:ModificationApply the modification to the specified transaction.- Parameters:
transaction- the transaction
-
apply
public void apply(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification transaction)
Description copied from interface:ModificationApply the modification to the specified transaction.- Parameters:
transaction- the transaction
-
getType
public byte getType()
-
readExternal
public void readExternal(ObjectInput in) throws IOException
- Throws:
IOException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Throws:
IOException
-
writeTo
public void writeTo(org.opendaylight.yangtools.yang.data.codec.binfmt.NormalizedNodeDataOutput out) throws IOException- Throws:
IOException
-
fromStream
public static DeleteModification fromStream(org.opendaylight.yangtools.yang.data.codec.binfmt.NormalizedNodeDataInput in, short version) throws IOException
- Throws:
IOException
-
-