Class AugmentTuple<E extends org.opendaylight.yangtools.yang.binding.Augmentable<E>>

java.lang.Object
org.opendaylight.openflowplugin.extension.api.AugmentTuple<E>
Type Parameters:
E - augmentable type where wrapped augmentation belongs
Direct Known Subclasses:
ExtensionAugment

public class AugmentTuple<E extends org.opendaylight.yangtools.yang.binding.Augmentable<E>> extends Object
Wrapper over augmentation and it's type in order to ease handing over and hooking of an augmentation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AugmentTuple(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<E>> augmentationClass, org.opendaylight.yangtools.yang.binding.Augmentation<E> augmentationObject)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<E>>
    Returns the type of wrapped augmentation.
    org.opendaylight.yangtools.yang.binding.Augmentation<E>
    Returns the instance of wrapped augmentation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AugmentTuple

      public AugmentTuple(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<E>> augmentationClass, org.opendaylight.yangtools.yang.binding.Augmentation<E> augmentationObject)
  • Method Details

    • getAugmentationObject

      public org.opendaylight.yangtools.yang.binding.Augmentation<E> getAugmentationObject()
      Returns the instance of wrapped augmentation.
      Returns:
      augmentation object
    • getAugmentationClass

      public Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<E>> getAugmentationClass()
      Returns the type of wrapped augmentation.
      Returns:
      augmentation class