BUG-2661: Sonar issues for ofp-extension-api
[openflowplugin.git] / extension / openflowplugin-extension-api / src / main / java / org / opendaylight / openflowplugin / extension / api / ConverterExtensionKey.java
1 /**
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  * 
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowplugin.extension.api;
9
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.general.rev140714.ExtensionKey;
11
12 /**
13  * lookup and register key for extension converters, basic case expects this to
14  * correlate with input model type
15  * 
16  * @param <T> type of key
17  */
18 public class ConverterExtensionKey<T extends ExtensionKey> extends TypeVersionKey<T> {
19
20     /**
21      * @param type
22      */
23     public ConverterExtensionKey(Class<T> type, short ofVersion) {
24         super(type, ofVersion);
25     }
26 }