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 * Get description of this node.
37 * @return description statement
39 String getDescription();
42 * Set description to this node.
46 void setDescription(String description);
49 * Get reference of this node.
51 * @return reference statement
53 String getReference();
56 * Set reference to this node.
60 void setReference(String reference);
63 * Get status of this node.
65 * @return status statement
70 * Set status to this node.
74 void setStatus(Status status);
77 * Build SchemaNode object from this builder.