2 * Copyright (c) 2022 PANTHEON.tech, s.r.o. 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.mdsal.binding.generator.impl.tree;
10 import java.util.List;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
15 * A parent containing a number of {@link SchemaTreeChild} objects.
17 * @param <S> Concrete {@link EffectiveStatement} type
19 // FIXME: S extends SchemaTreeAwareStatement ... once AugmentEffectiveStatement implements that
20 public interface SchemaTreeParent<S extends EffectiveStatement<?, ?>> {
22 * Immutable view of children of this object along the {@code schema tree} child axis.
24 * @return Immutable view of this objects children along the {@code schema tree} child axis.
26 @NonNull List<SchemaTreeChild<?, ?>> schemaTreeChildren();