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
14 import org.opendaylight.yangtools.yang.model.api.YangNode;
\r
17 * Interface for all builders of SchemaNode nodes.
\r
19 public interface SchemaNodeBuilder extends Builder {
\r
22 * Get qname of this node.
\r
24 * @return QName of this node
\r
29 * Get schema path of this node.
\r
31 * @return SchemaPath of this node
\r
33 SchemaPath getPath();
\r
36 * Set schema path to this node.
\r
40 void setPath(SchemaPath schemaPath);
\r
43 * Get description of this node.
\r
45 * @return description statement
\r
47 String getDescription();
\r
50 * Set description to this node.
\r
52 * @param description
\r
54 void setDescription(String description);
\r
57 * Get reference of this node.
\r
59 * @return reference statement
\r
61 String getReference();
\r
64 * Set reference to this node.
\r
68 void setReference(String reference);
\r
71 * Get status of this node.
\r
73 * @return status statement
\r
78 * Set status to this node.
\r
82 void setStatus(Status status);
\r
85 * Build SchemaNode object from this builder.
\r
87 SchemaNode build(YangNode parent);
\r