Cleanup checkstyle in yang-{data,model}-api
[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
9 package org.opendaylight.yangtools.yang.model.api.stmt;
10
11 import com.google.common.annotations.Beta;
12 import java.util.Collection;
13 import javax.annotation.Nonnull;
14 import javax.annotation.Nullable;
15
16 /**
17  * The "anydata" statement defines an interior node in the schema tree.
18  * It takes one argument, which is an identifier, followed by a block of
19  * substatements that holds detailed anydata information.
20  *
21  * <p>
22  * The "anydata" statement is used to represent an unknown set of nodes
23  * that can be modeled with YANG, except anyxml, but for which the data
24  * model is not known at module design time.  It is possible, though not
25  * required, for the data model for anydata content to become known
26  * through protocol signaling or other means that are outside the scope
27  * of this document.
28  */
29 @Beta
30 public interface AnydataStatement extends DataDefinitionStatement {
31
32     @Nonnull
33     Collection<? extends MustStatement> getMusts();
34
35     @Nullable
36     ConfigStatement getConfig();
37
38     @Nullable MandatoryStatement getMandatory();
39 }