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.model.api;
10 import org.opendaylight.yangtools.yang.common.QName;
13 * Contains the methods for getting the details about the unknown node.
15 public interface UnknownSchemaNode extends SchemaNode {
17 * Returns QName instance with the name of the unknown node.
19 * @return QName with name the name of the unknown node.
24 * Returns name of the unknown node.
26 * @return string with the name of unknown node.
28 String getNodeParameter();
31 * Describes whether the node was added through <code>uses</code> YANG
34 * @return boolean value which is <code>true</code> if the node is added by
35 * <code>uses</code> YANG keyword
37 boolean isAddedByUses();
40 * Describes whether the node was added through <code>augment</code> YANG
43 * @return boolean value which is <code>true</code> if the node is added by
44 * <code>augment</code> YANG statement
46 boolean isAddedByAugmentation();
49 * Get extension definition which identifies this node.
51 * @return extension definition if exists, null otherwise
53 ExtensionDefinition getExtensionDefinition();