diff options
Diffstat (limited to 'subprojects/store-query/src/main/java/tools/refinery/store/query/view/NodeFunctionView.java')
-rw-r--r-- | subprojects/store-query/src/main/java/tools/refinery/store/query/view/NodeFunctionView.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/subprojects/store-query/src/main/java/tools/refinery/store/query/view/NodeFunctionView.java b/subprojects/store-query/src/main/java/tools/refinery/store/query/view/NodeFunctionView.java index 73c296e0..e9785c67 100644 --- a/subprojects/store-query/src/main/java/tools/refinery/store/query/view/NodeFunctionView.java +++ b/subprojects/store-query/src/main/java/tools/refinery/store/query/view/NodeFunctionView.java | |||
@@ -5,22 +5,16 @@ | |||
5 | */ | 5 | */ |
6 | package tools.refinery.store.query.view; | 6 | package tools.refinery.store.query.view; |
7 | 7 | ||
8 | import tools.refinery.store.query.term.NodeSort; | 8 | import tools.refinery.store.query.term.Parameter; |
9 | import tools.refinery.store.query.term.Sort; | ||
10 | import tools.refinery.store.representation.Symbol; | 9 | import tools.refinery.store.representation.Symbol; |
11 | import tools.refinery.store.tuple.Tuple1; | 10 | import tools.refinery.store.tuple.Tuple1; |
12 | 11 | ||
13 | public final class NodeFunctionView extends AbstractFunctionView<Tuple1> { | 12 | public final class NodeFunctionView extends AbstractFunctionView<Tuple1> { |
14 | public NodeFunctionView(Symbol<Tuple1> symbol, String name) { | 13 | public NodeFunctionView(Symbol<Tuple1> symbol, String name) { |
15 | super(symbol, name); | 14 | super(symbol, name, Parameter.NODE_IN_OUT); |
16 | } | 15 | } |
17 | 16 | ||
18 | public NodeFunctionView(Symbol<Tuple1> symbol) { | 17 | public NodeFunctionView(Symbol<Tuple1> symbol) { |
19 | this(symbol, "function"); | 18 | this(symbol, "function"); |
20 | } | 19 | } |
21 | |||
22 | @Override | ||
23 | protected Sort getForwardMappedValueSort() { | ||
24 | return NodeSort.INSTANCE; | ||
25 | } | ||
26 | } | 20 | } |