Implement commiting of data
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / modification / AbstractModification.java
index ffb263519a26cbceb4da2f09c3f17d66e77f7fd2..5d9f96277ddcba65b05801ea328c8e80333744f3 100644 (file)
@@ -8,15 +8,22 @@
 
 package org.opendaylight.controller.cluster.datastore.modification;
 
+
 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
 
+import java.io.Serializable;
+
 /**
  * Base class to be used for all simple modifications that can be applied to a DOMStoreTransaction
  */
-public abstract class AbstractModification implements Modification {
-  protected final InstanceIdentifier path;
+public abstract class AbstractModification implements Modification,
+    Serializable {
+
+    private static final long serialVersionUID = 1638042650152084457L;
+
+    protected final InstanceIdentifier path;
 
-  protected AbstractModification(InstanceIdentifier path) {
-    this.path = path;
-  }
+    protected AbstractModification(InstanceIdentifier path) {
+        this.path = path;
+    }
 }