2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.parser.builder.api;
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.model.api.SchemaNode;
12 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
13 import org.opendaylight.yangtools.yang.model.api.Status;
16 * Interface for all builders of SchemaNode nodes.
18 public interface SchemaNodeBuilder extends Builder {
21 * Get qname of this node.
23 * @return QName of this node
28 * Get schema path of this node.
30 * @return SchemaPath of this node
35 * Set path to this node.
39 void setPath(SchemaPath path);
42 * Get description of this node.
44 * @return description statement
46 String getDescription();
49 * Set description to this node.
53 void setDescription(String description);
56 * Get reference of this node.
58 * @return reference statement
60 String getReference();
63 * Set reference to this node.
67 void setReference(String reference);
70 * Get status of this node.
72 * @return status statement
77 * Set status to this node.
81 void setStatus(Status status);
84 * Build SchemaNode object from this builder.