BUG-1537: improved YangModuleInfo.
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / Module.java
index 211d234b6d11781758ae378ea765a2caa62cbfa1..9a28d8fe633a247c75724c767a1a5e702d295473 100644 (file)
@@ -57,8 +57,6 @@ import javax.annotation.concurrent.Immutable;
  */
 @Immutable
 public interface Module extends DataNodeContainer, SourceStreamAware, ModuleIdentifier {
-
-
     /**
      * Returns the prefix of the module
      *
@@ -129,6 +127,8 @@ public interface Module extends DataNodeContainer, SourceStreamAware, ModuleIden
      */
     Set<ModuleImport> getImports();
 
+    Set<Module> getSubmodules();
+
     /**
      * Returns <code>FeatureDefinition</code> instances which contain data from
      * <b>feature</b> statements defined in the module.