1 /*
2 * SPDX-FileCopyrightText: none
3 * SPDX-License-Identifier: CC0-1.0
4 */
5
6 package dev.metaschema.core.mdm;
7
8 import dev.metaschema.core.metapath.item.node.INodeItem;
9 import dev.metaschema.core.model.IResourceLocation;
10 import edu.umd.cs.findbugs.annotations.NonNull;
11
12 /**
13 * Represents a Metapath node item that is backed by a simple Metaschema
14 * module-based data model.
15 */
16 public interface IDMNodeItem extends INodeItem {
17 /**
18 * Provides a means to change the location information for the node item.
19 *
20 * @param location
21 * information about the location of the node within the containing
22 * resource
23 */
24 void setLocation(@NonNull IResourceLocation location);
25 }