993949296a5892b39ab3de2f764c82f69a337bac
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / DataContainerChild.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 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
11
12 /**
13  * Marker interface for direct children of {@link DataContainerNode}.
14  *
15  * <h3>Implementation notes</h3>
16  * This interface should not be implemented directly, but rather using one
17  * of its subinterfaces:
18  *
19  * <ul>
20  * <li>{@link LeafNode}
21  * <li>{@link ContainerNode}
22  * <li>{@link ChoiceNode}
23  * <li>{@link MapNode}
24  * <li>{@link AugmentationNode}
25  * </ul>
26  *
27  * @param <K> Path Argument Type which is used to identify node
28  * @param <V> Value type
29  */
30 public interface DataContainerChild<K extends PathArgument,V> extends NormalizedNode<K, V> {
31     @Override
32     K getIdentifier();
33 }