Improved sorting of augmentations before code generation.
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / api / AugmentationSchemaBuilder.java
index 93344149cda1ccab54724b76f6e750ae6248db1b..6b1e49e1ed1d954a2d53b13be978c454a416b2b2 100644 (file)
@@ -32,16 +32,56 @@ public interface AugmentationSchemaBuilder extends DataNodeContainerBuilder {
 
     void setStatus(Status status);
 
+    /**
+     * Get path to target node as single string.
+     *
+     * @return path to target node as String
+     */
     String getTargetPathAsString();
 
+    /**
+     * Get path to target node.
+     * <p>
+     * Note that individual parts of path contain only prefix relative to
+     * current context and name of node.
+     * </p>
+     *
+     * @return path to target node as SchemaPath
+     */
     SchemaPath getTargetPath();
 
-    void setTargetPath(SchemaPath path);
+    /**
+     * Get schema path of target node.
+     *
+     * @return SchemaPath of target node
+     */
+    SchemaPath getTargetNodeSchemaPath();
+
+    /**
+     * Set schema path of target node.
+     *
+     * @param path
+     *            SchemaPath of target node
+     */
+    void setTargetNodeSchemaPath(SchemaPath path);
 
     AugmentationSchema build();
 
+    /**
+     * Get information about augmentation process.
+     *
+     * @return true, if augmentation process was performed already, false
+     *         otherwise
+     */
     boolean isResolved();
 
+    /**
+     * Set information about augmentation process.
+     *
+     * @param resolved
+     */
     void setResolved(boolean resolved);
 
+    int getOrder();
+
 }