Populate data/ hierarchy
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / AnydataStatement.java
1 /*
2  * Copyright (c) 2016 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.stmt;
9
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.yang.common.QName;
12 import org.opendaylight.yangtools.yang.model.api.YangStmtMapping;
13 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
14
15 /**
16  * The "anydata" statement defines an interior node in the schema tree. It takes one argument, which is an identifier,
17  * followed by a block of substatements that holds detailed anydata information.
18  *
19  * <p>
20  * The "anydata" statement is used to represent an unknown set of nodes that can be modeled with YANG, except anyxml,
21  * but for which the data model is not known at module design time.  It is possible, though not required, for the data
22  * model for anydata content to become known through protocol signaling or other means that are outside the scope
23  * of this document.
24  */
25 @Beta
26 public interface AnydataStatement extends DataDefinitionStatement, ConfigStatementAwareDeclaredStatement<QName>,
27         MandatoryStatementAwareDeclaredStatement<QName>, MustStatementAwareDeclaredStatement<QName> {
28     @Override
29     default StatementDefinition statementDefinition() {
30         return YangStmtMapping.ANYDATA;
31     }
32 }