Interface GroupingDefinition

All Superinterfaces:
ActionNodeContainer, AddedByUsesAware, DataNodeContainer, DocumentedNode, DocumentedNode.WithStatus, EffectiveStatementEquivalent<GroupingEffectiveStatement>, NotificationNodeContainer, SchemaNode
All Known Implementing Classes:
AbstractGroupingEffectiveStatement, EmptyGroupingEffectiveStatement, RegularGroupingEffectiveStatement

Interface describing YANG 'grouping' statement.

It is used to define a reusable block of nodes, which may be used locally in the module, in modules that include it, and by other modules that import from it.

Note: this interface extends AddedByUsesAware, but this contradicts the javadoc of AddedByUsesAware.isAddedByUses(), as groupings can never be encountered in 'data schema node' context. It is their children, which are data schema node, but those really are instantiated and typically differ in SchemaNode.getQName()'s namespace.