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