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
13 * Marker interface uniquelly bounding generated Java interfaces to their
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).
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.
24 * @param <P> Parent container
26 public interface ChildOf<P> extends DataObject {