Class TypeVersionKey<T>

java.lang.Object
org.opendaylight.openflowplugin.extension.api.TypeVersionKey<T>
Type Parameters:
T - type of key
Direct Known Subclasses:
ConverterExtensionKey

public class TypeVersionKey<T> extends Object
Lookup and register key for extension converters, basic case expects this to correlate with input model type.
  • Constructor Details

    • TypeVersionKey

      public TypeVersionKey(Class<? extends T> type, org.opendaylight.yangtools.yang.common.Uint8 ofVersion)
  • Method Details

    • getType

      public Class<? extends T> getType()
      Returns the key type.
      Returns:
      key type
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object