Redirect Builders through ImmutableNodes' builder factory
[yangtools.git] / data / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / NormalizedNodeContainer.java
1 /*
2  * Copyright (c) 2014 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.data.api.schema;
9
10 /**
11  * Node which is not leaf, but has child {@link NormalizedNode}s as its value. It provides iteration over its child
12  * nodes via {@link #body()}. More convenient access to child nodes are provided by {@link DistinctNodeContainer} and
13  * {@link OrderedNodeContainer}.
14  *
15  * @param <V> Child Node type
16  */
17 public sealed interface NormalizedNodeContainer<V extends NormalizedNode> extends NormalizedContainer<V>, NormalizedNode
18         permits DistinctNodeContainer, OrderedNodeContainer {
19     // Just a composite of NormalizedContainer and NormalizedNode
20 }