Rename NamespaceRevisionAware to QNameModuleAware
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / UnknownSchemaNode.java
index b279c5c3125bc3068305deb2066ddb1aef6e11e0..962cbd369d1c9567b344639c7009c7eb711c444f 100644 (file)
@@ -9,12 +9,28 @@ package org.opendaylight.yangtools.yang.model.api;
 
 import org.opendaylight.yangtools.yang.common.QName;
 
-public interface UnknownSchemaNode extends SchemaNode {
-
+/**
+ * Contains the methods for getting the details about the unknown node.
+ */
+public interface UnknownSchemaNode extends SchemaNode, CopyableNode {
+    /**
+     * Returns QName instance with the name of the unknown node.
+     *
+     * @return QName with name the name of the unknown node.
+     */
     QName getNodeType();
 
+    /**
+     * Returns name of the unknown node.
+     *
+     * @return string with the name of unknown node.
+     */
     String getNodeParameter();
 
-    boolean isAddedByUses();
-
+    /**
+     * Get extension definition which identifies this node.
+     *
+     * @return extension definition if exists, null otherwise
+     */
+    ExtensionDefinition getExtensionDefinition();
 }