2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.openflowplugin.extension.api;
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.general.rev140714.ExtensionKey;
13 * lookup and register key for extension converters, basic case expects this to
14 * correlate with input model type
16 * @param <TYPE> type of key
18 public class ConverterExtensionKey<TYPE extends ExtensionKey> extends TypeVersionKey<TYPE> {
20 private Class<TYPE> type;
21 private short ofVersion;
26 public ConverterExtensionKey(Class<TYPE> type, short ofVersion) {
27 super(type, ofVersion);