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();
}