*
* @param <A> Argument type
* @param <D> Class representing declared version of this statement.
- * @author Robert Varga
*/
@Beta
public interface DataTreeAwareEffectiveStatement<A, D extends DeclaredStatement<A>>
extends SchemaTreeAwareEffectiveStatement<A, D> {
/**
- * Namespace of {@code data node}s. This is a subtree of {@link SchemaTreeAwareEffectiveStatement.Namespace} in that
- * all data nodes are also schema nodes. The structure of the tree is different, though, as {@code choice}
- * and {@code case} statements are glossed over and they do not contribute to the tree hierarchy -- only their
- * children do.
+ * Namespace of {@code data node}s. This is a subtree of
+ * {@link SchemaTreeAwareEffectiveStatement.SchemaTreeNamespace} in that all data nodes are also schema nodes. The
+ * structure of the tree is different, though, as {@code choice} and {@code case} statements are glossed over and
+ * they do not contribute to the tree hierarchy -- only their children do.
*
* <p>
* This corresponds to the {@code data tree} view of a YANG-defined data.
*/
@NonNullByDefault
- abstract class Namespace extends EffectiveStatementNamespace<DataTreeEffectiveStatement<?>> {
- private Namespace() {
+ abstract class DataTreeNamespace extends EffectiveStatementNamespace<DataTreeEffectiveStatement<?>> {
+ private DataTreeNamespace() {
// Should never be instantiated
}
}
* @throws NullPointerException if {@code qname} is null
*/
default @NonNull Optional<DataTreeEffectiveStatement<?>> findDataTreeNode(final @NonNull QName qname) {
- return get(Namespace.class, requireNonNull(qname));
+ return get(DataTreeNamespace.class, requireNonNull(qname));
}
/**