2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. 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
8 package org.opendaylight.yangtools.yang.data.api.schema;
10 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
13 * A {@link NormalizedNodeContainer} which contains directly-addressable children. It
16 * NormalizedNodeContainer does not have a value, but it has a child nodes. Definition of possible and valid child nodes
17 * is introduced in subclasses of this interface.
20 * This interface should not be used directly, but rather use of of derived subclasses such as
21 * {@link DataContainerNode}, {@link MapNode}, {@link LeafSetNode}.
23 * @param <K> Child path argument type
24 * @param <V> Child Node type
26 public non-sealed interface DistinctNodeContainer<K extends PathArgument, V extends NormalizedNode>
27 extends DistinctContainer<K, V>, NormalizedNodeContainer<V> {
28 // Composition of DistinctContainer and NormalizedNodeContainer