Populate data/ hierarchy
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / UnknownSchemaNode.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.model.api;
9
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
12
13 /**
14  * Contains the methods for getting the details about the unknown node.
15  */
16 public interface UnknownSchemaNode extends SchemaNode, CopyableNode,
17         EffectiveStatementEquivalent<UnknownEffectiveStatement<?, ?>> {
18     /**
19      * Returns QName instance with the name of the unknown node.
20      *
21      * @return QName with name the name of the unknown node.
22      */
23     QName getNodeType();
24
25     /**
26      * Returns name of the unknown node.
27      *
28      * @return string with the name of unknown node.
29      */
30     String getNodeParameter();
31
32     /**
33      * Get extension definition which identifies this node.
34      *
35      * @return extension definition if exists, null otherwise
36      */
37     ExtensionDefinition getExtensionDefinition();
38 }