G - groupingpublic class GroupingLooseResolver<G> extends Object
Augmentable.
Used Augmentations do not share Augmentable.
Augmentable classes which might contain
corresponding Augmentations (1:1..n binding). And those Augmentations
are sharing the same grouping so that they could be processed in the same way.| Constructor and Description |
|---|
GroupingLooseResolver(Class<G> commonInterface)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GroupingLooseResolver<G> |
add(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<?>> cls)
Adds an augmentation class.
|
Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<?>>> |
getClasses()
Get augmentation classes.
|
<T extends org.opendaylight.yangtools.yang.binding.Augmentable<T>> |
getExtension(org.opendaylight.yangtools.yang.binding.DataObject data)
Gets the extension for the give data.
|
public Set<Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<?>>> getClasses()
public GroupingLooseResolver<G> add(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<?>> cls)
cls - equivalent augmentation classCopyright © 2019 OpenDaylight. All rights reserved.