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;
14 * Contains the methods for getting the details about the unknown node.
17 public interface UnknownSchemaNode extends SchemaNode {
20 * Returns QName instance with the name of the unknown node.
22 * @return QName with name the name of the unknown node.
27 * Returns name of the unknown node.
29 * @return string with the name of unknown node.
31 String getNodeParameter();
35 * Describes whether the node was added through <code>uses</code> YANG
38 * @return boolean value which is <code>true</code> if the node is added by
39 * <code>uses</code> YANG keyword
41 boolean isAddedByUses();
44 * Get extension definition which identifies this node
46 * @return extension definition if exists, null otherwise
48 ExtensionDefinition getExtensionDefinition();