aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-dse/src/main/java/tools/refinery/store/dse/modification/ModificationAdapter.java
blob: 58b6049982a6615491d3ab0f8eb55b160b0992f4 (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
24
/*
 * SPDX-FileCopyrightText: 2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package tools.refinery.store.dse.modification;

import tools.refinery.store.adapter.ModelAdapter;
import tools.refinery.store.dse.modification.internal.ModificationBuilderImpl;
import tools.refinery.store.tuple.Tuple;
import tools.refinery.store.tuple.Tuple1;

public interface ModificationAdapter extends ModelAdapter {

	int getModelSize();

	Tuple1 createObject();

	boolean deleteObject(Tuple tuple, DanglingEdges danglingEdges);

	static ModificationBuilder builder() {
		return new ModificationBuilderImpl();
	}
}