Class GroupingLooseResolver<G>
java.lang.Object
org.opendaylight.openflowplugin.extension.api.GroupingLooseResolver<G>
- Type Parameters:
- G- grouping
Provides augmentation resolving upon given 
Usage: in case there are multiple
Augmentable.
 Used Augmentations do not share Augmentable.
 Usage: in case there are multiple
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdds an augmentation class.Get augmentation classes.getExtension(org.opendaylight.yangtools.yang.binding.DataObject data) Gets the extension for the give data.
- 
Constructor Details- 
GroupingLooseResolverConstructor.- Parameters:
- commonInterface- common interface
 
 
- 
- 
Method Details- 
getClassesGet augmentation classes.- Returns:
- list of augmentation classes
 
- 
addpublic GroupingLooseResolver<G> add(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<?>> cls) Adds an augmentation class.- Parameters:
- cls- equivalent augmentation class
- Returns:
- this for chaining
 
- 
getExtensionpublic <T extends org.opendaylight.yangtools.yang.binding.Augmentable<T>> Optional<G> getExtension(org.opendaylight.yangtools.yang.binding.DataObject data) Gets the extension for the give data.- Type Parameters:
- T- type of data
- Parameters:
- data- parameter(data) for getExtension
- Returns:
- shared grouping
 
 
-