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