BUG-865: deprecate pre-Beryllium parser elements
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / api / SchemaNodeBuilder.java
index cd0bb354e445270176947a3acdb00093f10051e9..a2d3a51d9f89b9a5cb2e9255f3dc99e5bebd11f2 100644 (file)
@@ -10,79 +10,40 @@ 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}.
+ *
+ * @deprecated Pre-Beryllium implementation, scheduled for removal.
  */
-public interface SchemaNodeBuilder extends Builder {
+@Deprecated
+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();
 
 }