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.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.yangtools.yang.common.QName;
12 import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
15 * Contains the methods for getting the details about the unknown node.
17 public interface UnknownSchemaNode extends SchemaNode, CopyableNode,
18 EffectiveStatementEquivalent<UnknownEffectiveStatement<?, ?>> {
20 * Returns QName instance with the name of the unknown node. This corresponds to
21 * {@link ExtensionDefinition#getQName()} of the {@code extension} statement which defined it.
23 * @return QName with name the name of the unknown node.
25 @NonNull QName getNodeType();
28 * Returns name of the unknown node.
30 * @return string with the name of unknown node.
32 String getNodeParameter();