Merge "Fix InstanceIdentifier toString()"
[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.InstanceIdentifier.PathArgument;
11
12 /**
13  *
14  * Marker interface for direct children of {@link DataContainerNode}.
15  *
16  * Implementation notes:
17  * This interface should not be implemented directly, but rather using one
18  * of its subinterfaces:
19  *
20  *
21  * {@link LeafNode}
22  * {@link ContainerNode}
23  * {@link ChoiceNode}
24  * {@link MapNode}
25  * {@link AugmentationNode}
26  *
27  * @param <K>
28  * @param <V>
29  */
30 public interface DataContainerChild<K extends PathArgument,V> extends NormalizedNode<K, V> {
31     @Override
32     K getIdentifier();
33 }