Class GroupingLooseResolver<G extends org.opendaylight.yangtools.binding.Grouping>
java.lang.Object
org.opendaylight.openflowplugin.extension.api.GroupingLooseResolver<G>
- Type Parameters:
G
- grouping
public class GroupingLooseResolver<G extends org.opendaylight.yangtools.binding.Grouping>
extends Object
Provides augmentation resolving upon given
Usage: in case there are multiple
Augmentable
.
Used Augmentation
s do not share Augmentable
.
Usage: in case there are multiple
Augmentable
classes which might contain
corresponding Augmentation
s (1:1..n binding). And those Augmentation
s
are sharing the same grouping so that they could be processed in the same way.-
Constructor Summary
ConstructorDescriptionGroupingLooseResolver
(Class<G> commonInterface, Class<? extends org.opendaylight.yangtools.binding.Augmentation<?>>... classes) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet augmentation classes.getExtension
(org.opendaylight.yangtools.binding.DataContainer data) Gets the extension for the give data.
-
Constructor Details
-
GroupingLooseResolver
@SafeVarargs public GroupingLooseResolver(Class<G> commonInterface, Class<? extends org.opendaylight.yangtools.binding.Augmentation<?>>... classes) Constructor.- Parameters:
commonInterface
- common interface
-
-
Method Details
-
getClasses
Get augmentation classes.- Returns:
- list of augmentation classes
-
getExtension
Gets the extension for the give data.- Parameters:
data
- parameter(data) for getExtension- Returns:
- shared grouping
-