28b4e0c577b8b7aa1232e5ef71c9c996ff35a2e7
[mdsal.git] / yang / 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
12  * 
13  * Marker interface uniquelly bounding generated Java interfaces to their 
14  * parent container.
15  * 
16  * Any nested Java interface generated from YANG must implement this interface,
17  * where parameter <code>P</code> points to it's defining data node container
18  * (interface generated for List, Container, Case).
19  * 
20  * In case of children added by augmentation (which implements {@link Augmentation})
21  * interfaces representing nested container must implements {@link ChildOf} with
22  * same argument as Augmentation.
23  * 
24  * @param <P> Parent container
25  */
26 public interface ChildOf<P> extends DataObject {
27
28 }