org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode Maven / Gradle / Ivy
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.yangtools.yang.model.api;
import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
/**
* Contains the methods for getting the details about the unknown node.
*/
public interface UnknownSchemaNode extends SchemaNode, CopyableNode,
EffectiveStatementEquivalent> {
/**
* Returns QName instance with the name of the unknown node. This corresponds to
* {@link ExtensionDefinition#getQName()} of the {@code extension} statement which defined it.
*
* @return QName with name the name of the unknown node.
*/
@NonNull QName getNodeType();
/**
* Returns name of the unknown node.
*
* @return string with the name of unknown node.
*/
String getNodeParameter();
}