diff options
Diffstat (limited to 'subprojects/interpreter-rete-recipes')
4 files changed, 21 insertions, 3 deletions
diff --git a/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore b/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore index 6b8f10ea..23ee5a77 100644 --- a/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore +++ b/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore | |||
@@ -399,4 +399,15 @@ | |||
399 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="connectivity" eType="#//Connectivity"/> | 399 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="connectivity" eType="#//Connectivity"/> |
400 | </eClassifiers> | 400 | </eClassifiers> |
401 | <eClassifiers xsi:type="ecore:EDataType" name="Connectivity" instanceClassName="tools.refinery.interpreter.matchers.psystem.basicenumerables.Connectivity"/> | 401 | <eClassifiers xsi:type="ecore:EDataType" name="Connectivity" instanceClassName="tools.refinery.interpreter.matchers.psystem.basicenumerables.Connectivity"/> |
402 | <eClassifiers xsi:type="ecore:EClass" name="OuterJoinNodeRecipe" eSuperTypes="#//ReteNodeRecipe"> | ||
403 | <eOperations name="getArity" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"> | ||
404 | <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | ||
405 | <details key="body" value="<%tools.refinery.interpreter.rete.recipes.ProjectionIndexerRecipe%> _parent = this.getParent();
<%tools.refinery.interpreter.rete.recipes.Mask%> _mask = _parent.getMask();
<%org.eclipse.emf.common.util.EList%><<%java.lang.Integer%>> _sourceIndices = _mask.getSourceIndices();
return _sourceIndices.size();"/> | ||
406 | </eAnnotations> | ||
407 | </eOperations> | ||
408 | <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//ProjectionIndexerRecipe" | ||
409 | containment="true" resolveProxies="false"/> | ||
410 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> | ||
411 | </eClassifiers> | ||
412 | <eClassifiers xsi:type="ecore:EClass" name="OuterJoinIndexerRecipe" eSuperTypes="#//IndexerRecipe"/> | ||
402 | </ecore:EPackage> | 413 | </ecore:EPackage> |
diff --git a/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore.license b/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore.license index 03d1d42b..22023c2c 100644 --- a/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore.license +++ b/subprojects/interpreter-rete-recipes/src/main/resources/model/recipes.ecore.license | |||
@@ -1,4 +1,4 @@ | |||
1 | Copyright (c) 2004-2014 Gabor Bergmann and Daniel Varro | 1 | Copyright (c) 2004-2014 Gabor Bergmann and Daniel Varro |
2 | Copyright (c) 2023 The Refinery Authors <https://refinery.tools> | 2 | Copyright (c) 2023-2024 The Refinery Authors <https://refinery.tools> |
3 | 3 | ||
4 | SPDX-License-Identifier: EPL-2.0 | 4 | SPDX-License-Identifier: EPL-2.0 |
diff --git a/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel b/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel index f7dc7a4e..f156b1a2 100644 --- a/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel +++ b/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel | |||
@@ -1,6 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | 2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" |
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004-2014 Gabor Bergmann and Daniel Varro
Copyright (c) 2023 The Refinery Authors <https://refinery.tools>
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-v20.html.

SPDX-License-Identifier: EPL-2.0" | 3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004-2014 Gabor Bergmann and Daniel Varro
Copyright (c) 2023-2024 The Refinery Authors <https://refinery.tools>
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-v20.html.

SPDX-License-Identifier: EPL-2.0" |
4 | modelDirectory="/tools.refinery.refinery-interpreter-rete-recipes/src/main/emf-gen" | 4 | modelDirectory="/tools.refinery.refinery-interpreter-rete-recipes/src/main/emf-gen" |
5 | modelPluginID="tools.refinery.refinery-interpreter-rete-recipes" runtimeJar="true" | 5 | modelPluginID="tools.refinery.refinery-interpreter-rete-recipes" runtimeJar="true" |
6 | forceOverwrite="true" modelName="Rete-recipes" updateClasspath="false" nonNLSMarkers="true" | 6 | forceOverwrite="true" modelName="Rete-recipes" updateClasspath="false" nonNLSMarkers="true" |
@@ -170,5 +170,12 @@ | |||
170 | <genOperations ecoreOperation="recipes.ecore#//RepresentativeElectionRecipe/getArity" | 170 | <genOperations ecoreOperation="recipes.ecore#//RepresentativeElectionRecipe/getArity" |
171 | body="return 2;"/> | 171 | body="return 2;"/> |
172 | </genClasses> | 172 | </genClasses> |
173 | <genClasses ecoreClass="recipes.ecore#//OuterJoinNodeRecipe"> | ||
174 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference recipes.ecore#//OuterJoinNodeRecipe/parent"/> | ||
175 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute recipes.ecore#//OuterJoinNodeRecipe/defaultValue"/> | ||
176 | <genOperations ecoreOperation="recipes.ecore#//OuterJoinNodeRecipe/getArity" | ||
177 | body="<%tools.refinery.interpreter.rete.recipes.ProjectionIndexerRecipe%> _parent = this.getParent();
<%tools.refinery.interpreter.rete.recipes.Mask%> _mask = _parent.getMask();
<%org.eclipse.emf.common.util.EList%><<%java.lang.Integer%>> _sourceIndices = _mask.getSourceIndices();
return _sourceIndices.size();"/> | ||
178 | </genClasses> | ||
179 | <genClasses ecoreClass="recipes.ecore#//OuterJoinIndexerRecipe"/> | ||
173 | </genPackages> | 180 | </genPackages> |
174 | </genmodel:GenModel> | 181 | </genmodel:GenModel> |
diff --git a/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel.license b/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel.license index 03d1d42b..22023c2c 100644 --- a/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel.license +++ b/subprojects/interpreter-rete-recipes/src/main/resources/model/rete-recipes.genmodel.license | |||
@@ -1,4 +1,4 @@ | |||
1 | Copyright (c) 2004-2014 Gabor Bergmann and Daniel Varro | 1 | Copyright (c) 2004-2014 Gabor Bergmann and Daniel Varro |
2 | Copyright (c) 2023 The Refinery Authors <https://refinery.tools> | 2 | Copyright (c) 2023-2024 The Refinery Authors <https://refinery.tools> |
3 | 3 | ||
4 | SPDX-License-Identifier: EPL-2.0 | 4 | SPDX-License-Identifier: EPL-2.0 |