G - groupingT - 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 Augmentations depending on origin. And those Augmentations
are sharing the same grouping so that they could be processed in the same way.| Constructor and Description |
|---|
GroupingResolver(Class<G> commonInterface) |
| Modifier and Type | Method and Description |
|---|---|
<X extends org.opendaylight.yangtools.yang.binding.Augmentation<T>> |
add(Class<X> cls) |
com.google.common.base.Optional<G> |
getExtension(T data) |
void |
setAugmentations(Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<T>>> clses) |
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 © 2018 OpenDaylight. All rights reserved.