diff options
author | 2019-02-07 18:24:45 +0100 | |
---|---|---|
committer | 2019-02-19 19:18:25 +0100 | |
commit | 6f88c4bd4e91728cea62505e893b0ce300baf7fc (patch) | |
tree | fef4d5cf7d28b0e4fd59a3b7181e60a2f236d235 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model | |
parent | Extract component fault tree model (diff) | |
download | VIATRA-Generator-6f88c4bd4e91728cea62505e893b0ce300baf7fc.tar.gz VIATRA-Generator-6f88c4bd4e91728cea62505e893b0ce300baf7fc.tar.zst VIATRA-Generator-6f88c4bd4e91728cea62505e893b0ce300baf7fc.zip |
Ecore2Cft transformation
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore | 9 | ||||
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel | 7 |
2 files changed, 9 insertions, 7 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore index f9bad301..2fc15d94 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore | |||
@@ -4,7 +4,7 @@ | |||
4 | nsPrefix="cft"> | 4 | nsPrefix="cft"> |
5 | <eClassifiers xsi:type="ecore:EClass" name="ComponentDefinition"> | 5 | <eClassifiers xsi:type="ecore:EClass" name="ComponentDefinition"> |
6 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" upperBound="-1" | 6 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvents" upperBound="-1" |
7 | eType="#//IntputEvent" containment="true"/> | 7 | eType="#//InputEvent" containment="true"/> |
8 | <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitions" upperBound="-1" | 8 | <eStructuralFeatures xsi:type="ecore:EReference" name="eventDefinitions" upperBound="-1" |
9 | eType="#//EventDefinition" containment="true"/> | 9 | eType="#//EventDefinition" containment="true"/> |
10 | <eStructuralFeatures xsi:type="ecore:EReference" name="outputEvents" upperBound="-1" | 10 | <eStructuralFeatures xsi:type="ecore:EReference" name="outputEvents" upperBound="-1" |
@@ -20,7 +20,7 @@ | |||
20 | <eStructuralFeatures xsi:type="ecore:EReference" name="distribution" lowerBound="1" | 20 | <eStructuralFeatures xsi:type="ecore:EReference" name="distribution" lowerBound="1" |
21 | eType="ecore:EClass ft.ecore#//Distribution" containment="true"/> | 21 | eType="ecore:EClass ft.ecore#//Distribution" containment="true"/> |
22 | </eClassifiers> | 22 | </eClassifiers> |
23 | <eClassifiers xsi:type="ecore:EClass" name="IntputEvent" eSuperTypes="#//EventDeclaration"> | 23 | <eClassifiers xsi:type="ecore:EClass" name="InputEvent" eSuperTypes="#//EventDeclaration"> |
24 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiple" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | 24 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiple" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
25 | </eClassifiers> | 25 | </eClassifiers> |
26 | <eClassifiers xsi:type="ecore:EClass" name="EventDeclaration" abstract="true"> | 26 | <eClassifiers xsi:type="ecore:EClass" name="EventDeclaration" abstract="true"> |
@@ -45,10 +45,11 @@ | |||
45 | eType="#//Output" containment="true" eOpposite="#//Output/component"/> | 45 | eType="#//Output" containment="true" eOpposite="#//Output/component"/> |
46 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentDefinition" lowerBound="1" | 46 | <eStructuralFeatures xsi:type="ecore:EReference" name="componentDefinition" lowerBound="1" |
47 | eType="#//ComponentDefinition"/> | 47 | eType="#//ComponentDefinition"/> |
48 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
48 | </eClassifiers> | 49 | </eClassifiers> |
49 | <eClassifiers xsi:type="ecore:EClass" name="Input"> | 50 | <eClassifiers xsi:type="ecore:EClass" name="Input"> |
50 | <eStructuralFeatures xsi:type="ecore:EReference" name="intputEvent" lowerBound="1" | 51 | <eStructuralFeatures xsi:type="ecore:EReference" name="inputEvent" lowerBound="1" |
51 | eType="#//IntputEvent"/> | 52 | eType="#//InputEvent"/> |
52 | <eStructuralFeatures xsi:type="ecore:EReference" name="component" lowerBound="1" | 53 | <eStructuralFeatures xsi:type="ecore:EReference" name="component" lowerBound="1" |
53 | eType="#//Component" eOpposite="#//Component/inputs"/> | 54 | eType="#//Component" eOpposite="#//Component/inputs"/> |
54 | <eStructuralFeatures xsi:type="ecore:EReference" name="incomingConnections" upperBound="-1" | 55 | <eStructuralFeatures xsi:type="ecore:EReference" name="incomingConnections" upperBound="-1" |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel index 25b3cd39..635a2f46 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel | |||
@@ -20,8 +20,8 @@ | |||
20 | <genClasses ecoreClass="cft.ecore#//BasicEventDefinition"> | 20 | <genClasses ecoreClass="cft.ecore#//BasicEventDefinition"> |
21 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//BasicEventDefinition/distribution"/> | 21 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//BasicEventDefinition/distribution"/> |
22 | </genClasses> | 22 | </genClasses> |
23 | <genClasses ecoreClass="cft.ecore#//IntputEvent"> | 23 | <genClasses ecoreClass="cft.ecore#//InputEvent"> |
24 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//IntputEvent/multiple"/> | 24 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//InputEvent/multiple"/> |
25 | </genClasses> | 25 | </genClasses> |
26 | <genClasses image="false" ecoreClass="cft.ecore#//EventDeclaration"> | 26 | <genClasses image="false" ecoreClass="cft.ecore#//EventDeclaration"> |
27 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//EventDeclaration/name"/> | 27 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//EventDeclaration/name"/> |
@@ -40,9 +40,10 @@ | |||
40 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/inputs"/> | 40 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/inputs"/> |
41 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/outputs"/> | 41 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Component/outputs"/> |
42 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Component/componentDefinition"/> | 42 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Component/componentDefinition"/> |
43 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute cft.ecore#//Component/name"/> | ||
43 | </genClasses> | 44 | </genClasses> |
44 | <genClasses ecoreClass="cft.ecore#//Input"> | 45 | <genClasses ecoreClass="cft.ecore#//Input"> |
45 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Input/intputEvent"/> | 46 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference cft.ecore#//Input/inputEvent"/> |
46 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Input/component"/> | 47 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference cft.ecore#//Input/component"/> |
47 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Input/incomingConnections"/> | 48 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference cft.ecore#//Input/incomingConnections"/> |
48 | </genClasses> | 49 | </genClasses> |