Moved parsing of unknown nodes from implementation to abstract classes.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / parser / builder / api / DataSchemaNodeBuilder.java
index bf96a82a14ea41f667a665d635c2b98804d3dfda..a21775068d53eb4252b151da9cc461be0d0c38c8 100644 (file)
@@ -16,12 +16,43 @@ import org.opendaylight.controller.yang.parser.builder.impl.ConstraintsBuilder;
  */
 public interface DataSchemaNodeBuilder extends SchemaNodeBuilder {
 
+    /**
+     * Build DataSchemaNode object from this builder.
+     */
     DataSchemaNode build();
 
+    /**
+     *
+     * @return true, if this node is added by augmentation, false otherwise
+     */
     boolean isAugmenting();
 
+    /**
+     * Set if this node is added by augmentation.
+     *
+     * @param augmenting
+     */
     void setAugmenting(boolean augmenting);
 
+    /**
+     * Get value of config statement.
+     *
+     * @return value of config statement
+     */
+    Boolean isConfiguration();
+
+    /**
+     * Set config statement.
+     *
+     * @param config
+     */
+    void setConfiguration(Boolean config);
+
+    /**
+     * Get constraints of this builder.
+     *
+     * @return constraints of this builder
+     */
     ConstraintsBuilder getConstraints();
 
 }