import org.opendaylight.yangtools.rfc8528.model.api.MountPointLabel;
/**
- * Normalized representation of a YANG mount point. This is a {@link NormalizedTree}, with a {@link #label()} and the
+ * Normalized representation of a YANG mount point. This is a {@link NormalizedTuple}, with a {@link #label()} and the
* corresponding {@link #context()}. Furthermore {@link #data()} is guaranteed to point at a {@link ContainerNode}.
*/
@NonNullByDefault
-public interface NormalizedMountPoint extends NormalizedTree {
+public interface NormalizedMountPoint extends NormalizedTuple {
/**
* Return the {@code mount-point} label.
*
import org.opendaylight.yangtools.concepts.Immutable;
/**
- * A tree of normalized {@link #data()}, with corresponding {@link #metadata()} and {@link #mountPoints()}. The three
+ * A tuple of normalized {@link #data()}, with corresponding {@link #metadata()} and {@link #mountPoints()}. The three
* views are expected to be consistent in their addressing -- i.e. when traversing {@link #data()} tree,
* the corresponding metadata should be available through {@link NormalizedMetadata#getChildren()} and mount point
* attachments should be available through {@link NormalizedMountpoints#getChildren()}.
// the corresponding metadata and/or mount points. Most notably mount points are only defined for ContainerNode
// and MapEntryNode.
@Beta
-public interface NormalizedTree extends Immutable {
+public interface NormalizedTuple extends Immutable {
/**
* Return the data portion of this tree.
*
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedMetadata;
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedMountpoints;
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
-import org.opendaylight.yangtools.yang.data.api.schema.NormalizedTree;
+import org.opendaylight.yangtools.yang.data.api.schema.NormalizedTuple;
/**
* The result of a {@link NormalizedNodeStreamWriter} stream, i.e. of a normalization operation. It really is just an
- * implementation of {@link NormalizedTree}.
+ * implementation of {@link NormalizedTuple}.
*/
public record NormalizationResult(
@NonNull NormalizedNode data,
@Nullable NormalizedMetadata metadata,
- @Nullable NormalizedMountpoints mountPoints) implements NormalizedTree {
+ @Nullable NormalizedMountpoints mountPoints) implements NormalizedTuple {
public NormalizationResult {
requireNonNull(data);
}