Bug 3670 (part 3/5): Use of new statement parser in yang-maven-plugin
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / api / SchemaNodeBuilder.java
index cd0bb354e445270176947a3acdb00093f10051e9..f81813c45484b46e52bf28e6de8bfdd8bd6e9507 100644 (file)
@@ -10,79 +10,37 @@ package org.opendaylight.yangtools.yang.parser.builder.api;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.model.api.SchemaNode;
 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
-import org.opendaylight.yangtools.yang.model.api.Status;
 
 /**
- * Interface for all builders of SchemaNode nodes.
+ * Builder for {@link SchemaNode}.
  */
-public interface SchemaNodeBuilder extends Builder {
+public interface SchemaNodeBuilder extends DocumentedNodeBuilder, Builder {
 
     /**
-     * Get qname of this node.
+     * Returns qname of resulting {@link SchemaNode}.
      *
      * @return QName of this node
      */
     QName getQName();
 
     /**
-     * Get schema path of this node.
+     * Returns schema path of resulting  {@link SchemaNode}.
      *
      * @return SchemaPath of this node
      */
     SchemaPath getPath();
 
     /**
-     * Set path to this node.
+     * Updates schema path to resulting {@link SchemaNode}.
      *
-     * @param path
+     * @param path schema path
      */
     void setPath(SchemaPath path);
 
-    /**
-     * Get description of this node.
-     *
-     * @return description statement
-     */
-    String getDescription();
-
-    /**
-     * Set description to this node.
-     *
-     * @param description
-     */
-    void setDescription(String description);
-
-    /**
-     * Get reference of this node.
-     *
-     * @return reference statement
-     */
-    String getReference();
-
-    /**
-     * Set reference to this node.
-     *
-     * @param reference
-     */
-    void setReference(String reference);
-
-    /**
-     * Get status of this node.
-     *
-     * @return status statement
-     */
-    Status getStatus();
-
-    /**
-     * Set status to this node.
-     *
-     * @param status
-     */
-    void setStatus(Status status);
-
     /**
      * Build SchemaNode object from this builder.
      */
+    @Override
     SchemaNode build();
 
 }