Bug 2756 - Instruction model update
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / keys / InstructionSerializerKey.java
index 2b7df97c23cdcb825da1a73c48831bf43c0ed25c..6f9a299b00be47084e820c4c64cd38049cba426c 100644 (file)
@@ -8,14 +8,14 @@
 
 package org.opendaylight.openflowjava.protocol.api.keys;
 
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.InstructionChoice;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instructions.grouping.Instruction;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.InstructionBase;
 
 /**
  * @author michal.polkorab
  * @param <T> instruction type
  */
-public class InstructionSerializerKey<T extends InstructionBase>
+public class InstructionSerializerKey<T extends InstructionChoice>
         extends MessageTypeKey<Instruction>{
 
     private Class<T> instructionType;