Class AugmentTuple<E extends org.opendaylight.yangtools.yang.binding.Augmentable<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 Detail

      • AugmentTuple

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

      • 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