bug 6579 checking the depency before transaction
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / transactions / md / AbstractTransactionCommand.java
index 67f507d84b1c9469550c9050ef2887fedd92fc8f..c6d7e4bf5df098472f56365b69b71dd04e3bf87b 100644 (file)
@@ -12,8 +12,9 @@ import org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionInstance;
 import org.opendaylight.ovsdb.lib.message.TableUpdates;
 import org.opendaylight.ovsdb.lib.schema.DatabaseSchema;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.ConnectionInfo;
+import org.opendaylight.yangtools.yang.binding.DataObject;
 
-public abstract class AbstractTransactionCommand implements TransactionCommand{
+public abstract class AbstractTransactionCommand<T extends DataObject> implements TransactionCommand{
 
     private TableUpdates updates;
     private DatabaseSchema dbSchema;
@@ -35,10 +36,6 @@ public abstract class AbstractTransactionCommand implements TransactionCommand{
         return key;
     }
 
-    protected AbstractTransactionCommand() {
-        // NO OP
-    }
-
     public AbstractTransactionCommand(HwvtepConnectionInstance key,TableUpdates updates, DatabaseSchema dbSchema) {
         this.updates = updates;
         this.dbSchema = dbSchema;