aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-dse/src/main/java/tools/refinery/store/dse/modification/actions/ModificationActionLiterals.java
blob: 31f50ac76657798e5cbee4914f96d540eab8f6b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * SPDX-FileCopyrightText: 2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package tools.refinery.store.dse.modification.actions;

import tools.refinery.store.dse.modification.DanglingEdges;
import tools.refinery.store.query.term.NodeVariable;

public class ModificationActionLiterals {
	private ModificationActionLiterals() {
		throw new IllegalArgumentException("This is a static utility class and should not be instantiated directly");
	}

	public static CreateActionLiteral create(NodeVariable variable) {
		return new CreateActionLiteral(variable);
	}

	public static DeleteActionLiteral delete(NodeVariable variable, DanglingEdges danglingEdges) {
		return new DeleteActionLiteral(variable, danglingEdges);
	}
}