- void setGroupingPath(SchemaPath groupingPath);
-
- Set<AugmentationSchemaBuilder> getAugmentations();
-
- void addAugment(AugmentationSchemaBuilder builder);
-
+ /**
+ * Get grouping definition.
+ *
+ * @return GroupingDefinition if present, null otherwise
+ */
+ GroupingDefinition getGroupingDefinition();
+
+ /**
+ * Set grouping definition.
+ *
+ * @param groupingDefinition
+ * GroupingDefinition object
+ */
+ void setGroupingDefinition(GroupingDefinition groupingDefinition);
+
+ /**
+ * Get grouping builder.
+ *
+ * @return GroupingBuilder if present, null otherwise
+ */
+ GroupingBuilder getGroupingBuilder();
+
+ /**
+ * Set grouping builder.
+ *
+ * @param grouping
+ * GroupingBuilder object
+ */
+ void setGrouping(GroupingBuilder grouping);
+
+ /**
+ * Get information if this uses node is defined in augment.
+ *
+ * @return true, if this node is defined under augment statement, false
+ * otherwise
+ */