X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Fapi%2FSchemaNode.java;h=7c96cbb6a5cde08bd080de454ac81ebfea255c39;hb=4078c52f76ce904726f0e127eba1a96c7bae357d;hp=84dc24a0b4298e4972c1d32d53cc26c091b029ca;hpb=400d483a43958d303471ba870afc70ce3499f130;p=yangtools.git
diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaNode.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaNode.java
index 84dc24a0b4..7c96cbb6a5 100644
--- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaNode.java
+++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaNode.java
@@ -14,58 +14,30 @@ import org.opendaylight.yangtools.yang.common.QName;
/**
* SchemaNode represents a node in schema tree.
*/
-public interface SchemaNode {
+public interface SchemaNode extends DocumentedNode {
/**
* Returns QName of the instance of the type SchemaNode
.
- *
+ *
* @return QName with the name of the schema node
*/
- public QName getQName();
+ QName getQName();
/**
* Returns the schema path of the instance of the type
* SchemaNode
SchemaNode
.
- *
+ *
* @return schema path of the schema node
*/
- public SchemaPath getPath();
+ SchemaPath getPath();
/**
- * Returns description of the instance of the type SchemaNode
- *
- * @return string with textual description the node which represents the
- * argument of the YANG description
substatement
- */
- public String getDescription();
-
- /**
- * Returns reference of the instance of the type SchemaNode
- *
- * The reference refers to external document that provides additional
- * information relevant for the instance of this type.
- *
- * @return string with the reference to some external document which
- * represents the argument of the YANG reference
- * substatement
- */
- public String getReference();
-
- /**
- * Returns status of the instance of the type SchemaNode
- *
- * @return status of this node which represents the argument of the YANG
- * status
substatement
- */
- public Status getStatus();
-
- /**
- *
+ *
* Returns unknown schema nodes which belongs to this instance of the type
* SchemaNode
.
- *
+ *
* @return list of unknown schema nodes defined under this schema node.
*/
- public List getUnknownSchemaNodes();
+ List getUnknownSchemaNodes();
}