diff options
Diffstat (limited to 'subprojects/store-partial/src/main/java/tools/refinery/store/partial/PartialInterpretation.java')
-rw-r--r-- | subprojects/store-partial/src/main/java/tools/refinery/store/partial/PartialInterpretation.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/subprojects/store-partial/src/main/java/tools/refinery/store/partial/PartialInterpretation.java b/subprojects/store-partial/src/main/java/tools/refinery/store/partial/PartialInterpretation.java new file mode 100644 index 00000000..d76f8728 --- /dev/null +++ b/subprojects/store-partial/src/main/java/tools/refinery/store/partial/PartialInterpretation.java | |||
@@ -0,0 +1,24 @@ | |||
1 | package tools.refinery.store.partial; | ||
2 | |||
3 | import tools.refinery.store.partial.internal.PartialInterpretationBuilderImpl; | ||
4 | import tools.refinery.store.adapter.ModelAdapterBuilderFactory; | ||
5 | import tools.refinery.store.model.ModelStoreBuilder; | ||
6 | import tools.refinery.store.partial.representation.PartialRelation; | ||
7 | |||
8 | public final class PartialInterpretation extends ModelAdapterBuilderFactory<PartialInterpretationAdapter, | ||
9 | PartialInterpretationStoreAdapter, PartialInterpretationBuilder> { | ||
10 | public static final PartialInterpretation ADAPTER = new PartialInterpretation(); | ||
11 | |||
12 | public static final PartialRelation EXISTS = new PartialRelation("exists", 1); | ||
13 | |||
14 | public static final PartialRelation EQUALS = new PartialRelation("equals", 1); | ||
15 | |||
16 | private PartialInterpretation() { | ||
17 | super(PartialInterpretationAdapter.class, PartialInterpretationStoreAdapter.class, PartialInterpretationBuilder.class); | ||
18 | } | ||
19 | |||
20 | @Override | ||
21 | public PartialInterpretationBuilder createBuilder(ModelStoreBuilder storeBuilder) { | ||
22 | return new PartialInterpretationBuilderImpl(storeBuilder); | ||
23 | } | ||
24 | } | ||