fb1d803c668a0f5afa4861e6847b849ffe799ce3
[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  * <h2>Implementation notes</h2>
16  * This interface should not be implemented directly, but rather using one of its subinterfaces:
17  *
18  * <ul>
19  *   <li>{@link LeafNode}
20  *   <li>{@link ContainerNode}
21  *   <li>{@link ChoiceNode}
22  *   <li>{@link MapNode}
23  *   <li>{@link AugmentationNode}
24  * </ul>
25  *
26  * @param <K> Path Argument Type which is used to identify node
27  * @param <V> Value type
28  */
29 public interface DataContainerChild<K extends PathArgument,V> extends NormalizedNode<K, V> {
30     @Override
31     K getIdentifier();
32 }