diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-09-13 20:39:27 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-09-14 12:10:43 +0200 |
commit | 748bf89911359bffbfafe354e522f7d656488146 (patch) | |
tree | 555fe86e0a068eda1f84538faaca8d6e76fd3bd8 /subprojects/language-model/src/main/resources/model/problem.ecore | |
parent | chore(deps): bump dependencies (diff) | |
download | refinery-748bf89911359bffbfafe354e522f7d656488146.tar.gz refinery-748bf89911359bffbfafe354e522f7d656488146.tar.zst refinery-748bf89911359bffbfafe354e522f7d656488146.zip |
refactor(language): clarify containment hierarchy
Diffstat (limited to 'subprojects/language-model/src/main/resources/model/problem.ecore')
-rw-r--r-- | subprojects/language-model/src/main/resources/model/problem.ecore | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/subprojects/language-model/src/main/resources/model/problem.ecore b/subprojects/language-model/src/main/resources/model/problem.ecore index 571d52f3..58f26eae 100644 --- a/subprojects/language-model/src/main/resources/model/problem.ecore +++ b/subprojects/language-model/src/main/resources/model/problem.ecore | |||
@@ -20,15 +20,15 @@ | |||
20 | <eClassifiers xsi:type="ecore:EClass" name="ReferenceDeclaration" eSuperTypes="#//Relation"> | 20 | <eClassifiers xsi:type="ecore:EClass" name="ReferenceDeclaration" eSuperTypes="#//Relation"> |
21 | <eStructuralFeatures xsi:type="ecore:EReference" name="referenceType" eType="#//Relation"/> | 21 | <eStructuralFeatures xsi:type="ecore:EReference" name="referenceType" eType="#//Relation"/> |
22 | <eStructuralFeatures xsi:type="ecore:EReference" name="opposite" eType="#//ReferenceDeclaration"/> | 22 | <eStructuralFeatures xsi:type="ecore:EReference" name="opposite" eType="#//ReferenceDeclaration"/> |
23 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="containment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
24 | <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity" | 23 | <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity" |
25 | containment="true"/> | 24 | containment="true"/> |
25 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//ReferenceKind"/> | ||
26 | </eClassifiers> | 26 | </eClassifiers> |
27 | <eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true"> | 27 | <eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true"> |
28 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | 28 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
29 | </eClassifiers> | 29 | </eClassifiers> |
30 | <eClassifiers xsi:type="ecore:EClass" name="PredicateDefinition" eSuperTypes="#//Relation #//ParametricDefinition"> | 30 | <eClassifiers xsi:type="ecore:EClass" name="PredicateDefinition" eSuperTypes="#//Relation #//ParametricDefinition"> |
31 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="error" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | 31 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//PredicateKind"/> |
32 | </eClassifiers> | 32 | </eClassifiers> |
33 | <eClassifiers xsi:type="ecore:EClass" name="Parameter" eSuperTypes="#//Variable"> | 33 | <eClassifiers xsi:type="ecore:EClass" name="Parameter" eSuperTypes="#//Variable"> |
34 | <eStructuralFeatures xsi:type="ecore:EReference" name="parameterType" eType="#//Relation"/> | 34 | <eStructuralFeatures xsi:type="ecore:EReference" name="parameterType" eType="#//Relation"/> |
@@ -78,7 +78,7 @@ | |||
78 | </eClassifiers> | 78 | </eClassifiers> |
79 | <eClassifiers xsi:type="ecore:EClass" name="Statement" abstract="true" interface="true"/> | 79 | <eClassifiers xsi:type="ecore:EClass" name="Statement" abstract="true" interface="true"/> |
80 | <eClassifiers xsi:type="ecore:EClass" name="TypeScope"> | 80 | <eClassifiers xsi:type="ecore:EClass" name="TypeScope"> |
81 | <eStructuralFeatures xsi:type="ecore:EReference" name="targetType" eType="#//ClassDeclaration"/> | 81 | <eStructuralFeatures xsi:type="ecore:EReference" name="targetType" eType="#//Relation"/> |
82 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="increment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | 82 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="increment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
83 | <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity" | 83 | <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity" |
84 | containment="true"/> | 84 | containment="true"/> |
@@ -191,4 +191,16 @@ | |||
191 | <eLiterals name="GREATER_EQ" value="3"/> | 191 | <eLiterals name="GREATER_EQ" value="3"/> |
192 | <eLiterals name="EQ" value="4"/> | 192 | <eLiterals name="EQ" value="4"/> |
193 | </eClassifiers> | 193 | </eClassifiers> |
194 | <eClassifiers xsi:type="ecore:EEnum" name="ReferenceKind"> | ||
195 | <eLiterals name="DEFAULT"/> | ||
196 | <eLiterals name="REFERENCE" value="1"/> | ||
197 | <eLiterals name="CONTAINMENT" value="2"/> | ||
198 | <eLiterals name="CONTAINER" value="3"/> | ||
199 | </eClassifiers> | ||
200 | <eClassifiers xsi:type="ecore:EEnum" name="PredicateKind"> | ||
201 | <eLiterals name="DEFAULT"/> | ||
202 | <eLiterals name="ERROR" value="1"/> | ||
203 | <eLiterals name="CONTAINED" value="2"/> | ||
204 | <eLiterals name="CONTAINMENT" value="3"/> | ||
205 | </eClassifiers> | ||
194 | </ecore:EPackage> | 206 | </ecore:EPackage> |