Update MRI upstreams for Phosphorus
[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 import org.opendaylight.yangtools.yang.common.Uint8;
12
13 /**
14  * Lookup and register key for extension converters, basic case expects this to
15  * correlate with input model type.
16  *
17  * @param <T> type of key
18  */
19 public class ConverterExtensionKey<T extends ExtensionKey> extends TypeVersionKey<T> {
20     public ConverterExtensionKey(final Class<T> type, final Uint8 ofVersion) {
21         super(type, ofVersion);
22     }
23 }