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.model.api;
\r
10 import java.util.List;
\r
12 import org.opendaylight.yangtools.yang.common.QName;
\r
15 * SchemaNode represents a node in schema tree.
\r
17 public interface SchemaNode {
\r
19 public QName getQName();
\r
21 public SchemaPath getPath();
\r
24 * @return textual description of this node.
\r
26 public String getDescription();
\r
29 * @return textual cross-reference to an external document that provides
\r
30 * additional information relevant to this node.
\r
32 public String getReference();
\r
35 * @return actual status of this node.
\r
37 public Status getStatus();
\r
40 * @return collection of all unknown nodes defined under this schema node.
\r
42 public List<UnknownSchemaNode> getUnknownSchemaNodes();
\r