G
- groupingT
- AugmentableAugmentationGroupingResolver
instead.@Deprecated public class GroupingResolver<G,T extends org.opendaylight.yangtools.yang.binding.Augmentable<T>> extends Object
Augmentable
.
Used classes
share the same Augmentable
.
Augmentable
which might contain
multiple Augmentation
s depending on origin. And those Augmentation
s
are sharing the same grouping so that they could be processed in the same way.Constructor and Description |
---|
GroupingResolver(Class<G> commonInterface)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<X extends org.opendaylight.yangtools.yang.binding.Augmentation<T>> |
add(Class<X> cls)
Deprecated.
Adds an augmentation class.
|
com.google.common.base.Optional<G> |
getExtension(T data)
Deprecated.
Gets the extension for the given data.
|
void |
setAugmentations(Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>> clses)
Deprecated.
Sets the augmentation classes.
|
public <X extends org.opendaylight.yangtools.yang.binding.Augmentation<T>> GroupingResolver<G,T> add(Class<X> cls)
cls
- equivalent augmentation classpublic void setAugmentations(Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>> clses)
clses
- set of equivalent augmentation classesCopyright © 2019 OpenDaylight. All rights reserved.