2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.yang.binding;
11 * Child of parent container. Marker interface uniquely bounding generated Java interfaces to their parent container.
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).
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.
21 * @param <P> Parent container
23 public interface ChildOf<P> extends DataObject {