Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Bug 1372 - toString methods in generated classes"
[yangtools.git]
/
yang
/
yang-model-api
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
model
/
api
/
Module.java
diff --git
a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Module.java
b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Module.java
index 22456181507f07da9b16c3ff7754ae0a9f489e07..23eb68ef1de1cdc268cc06da40b57d2c47a0ab6f 100644
(file)
--- a/
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Module.java
+++ b/
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Module.java
@@
-10,6
+10,8
@@
package org.opendaylight.yangtools.yang.model.api;
import java.util.List;
import java.util.Set;
import java.util.List;
import java.util.Set;
+import javax.annotation.concurrent.Immutable;
+
/**
* This interface contains the methods for getting the data from the YANG
* module.<br />
/**
* This interface contains the methods for getting the data from the YANG
* module.<br />
@@
-54,10
+56,8
@@
import java.util.Set;
</code>
*/
</code>
*/
-
+@Immutable
public interface Module extends DataNodeContainer, SourceStreamAware, ModuleIdentifier {
public interface Module extends DataNodeContainer, SourceStreamAware, ModuleIdentifier {
-
-
/**
* Returns the prefix of the module
*
/**
* Returns the prefix of the module
*
@@
-210,4
+210,9
@@
public interface Module extends DataNodeContainer, SourceStreamAware, ModuleIden
*/
List<UnknownSchemaNode> getUnknownSchemaNodes();
*/
List<UnknownSchemaNode> getUnknownSchemaNodes();
+ /**
+ * Get yang source.
+ */
+ String getSource();
+
}
}