0f3aa59d8a492ca24c822f6424dbae6708049936
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / ChildOf.java
1 /*
2  * Copyright (c) 2013 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.binding;
9
10 /**
11  * Child of parent container. Marker interface uniquely bounding generated Java interfaces to their  parent container.
12  *
13  * <p>
14  * Any nested Java interface generated from YANG must implement this interface, where parameter <code>P</code> points
15  * to it's defining data node container (interface generated for List, Container, Case).
16  *
17  * <p>
18  * In case of children added by augmentation (which implements {@link Augmentation}) interfaces representing nested
19  * container must implements {@link ChildOf} with same argument as Augmentation.
20  *
21  * @param <P> Parent container
22  */
23 public interface ChildOf<P> extends DataObject {
24
25 }