2 * Copyright (c) 2016 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
9 package org.opendaylight.yangtools.yang.model.api.stmt;
11 import com.google.common.annotations.Beta;
12 import java.util.Collection;
13 import javax.annotation.Nonnull;
14 import javax.annotation.Nullable;
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.
21 * The "anydata" statement is used to represent an unknown set of nodes
22 * that can be modeled with YANG, except anyxml, but for which the data
23 * model is not known at module design time. It is possible, though not
24 * required, for the data model for anydata content to become known
25 * through protocol signaling or other means that are outside the scope
29 public interface AnydataStatement extends DataDefinitionStatement {
32 Collection<? extends MustStatement> getMusts();
35 ConfigStatement getConfig();
37 @Nullable MandatoryStatement getMandatory();