2 * Copyright (c) 2023 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.yangtools.yang.data.api.schema;
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.opendaylight.yangtools.yang.common.MountPointLabel;
14 * Normalized representation of a YANG mount point. This is a {@link NormalizedTuple}, with a {@link #label()} and the
15 * corresponding {@link #context()}. Furthermore {@link #data()} is guaranteed to point at a {@link ContainerNode}.
18 public interface NormalizedMountPoint extends NormalizedTuple {
20 * Return the {@code mount-point} label.
22 * @return The label of this mount point.
24 MountPointLabel label();
27 * Return the underlying mount point context.
29 * @return Underlying mount point context
31 MountPointContext context();
37 * FIXME: consider whether this interface should contain some information based on 'parent-reference':
38 * - List<YangXPathExpression.QualifiedBound> getParentReference()
39 * - the node-set required to maintain referential integrity in the subtree of this node