aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore')
-rw-r--r--Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore32
1 files changed, 32 insertions, 0 deletions
diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore
new file mode 100644
index 00000000..aa50b778
--- /dev/null
+++ b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore
@@ -0,0 +1,32 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="modes3" nsURI="http://www.ece.mcgill.ca/wcet/modes3" nsPrefix="modes3">
4 <eClassifiers xsi:type="ecore:EClass" name="Segment">
5 <eStructuralFeatures xsi:type="ecore:EReference" name="connectedTo" upperBound="2"
6 eType="#//Segment"/>
7 <eStructuralFeatures xsi:type="ecore:EReference" name="occupiedBy" eType="#//Train"
8 eOpposite="#//Train/location"/>
9 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
10 </eClassifiers>
11 <eClassifiers xsi:type="ecore:EClass" name="Modes3ModelRoot">
12 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
13 <eStructuralFeatures xsi:type="ecore:EReference" name="trains" upperBound="-1"
14 eType="#//Train" containment="true"/>
15 <eStructuralFeatures xsi:type="ecore:EReference" name="segments" upperBound="-1"
16 eType="#//Segment" containment="true"/>
17 <eStructuralFeatures xsi:type="ecore:EReference" name="turnouts" upperBound="-1"
18 eType="#//Turnout" containment="true"/>
19 </eClassifiers>
20 <eClassifiers xsi:type="ecore:EClass" name="Turnout" eSuperTypes="#//Segment">
21 <eStructuralFeatures xsi:type="ecore:EReference" name="straight" lowerBound="1"
22 eType="#//Segment"/>
23 <eStructuralFeatures xsi:type="ecore:EReference" name="divergent" lowerBound="1"
24 eType="#//Segment"/>
25 </eClassifiers>
26 <eClassifiers xsi:type="ecore:EClass" name="Train">
27 <eStructuralFeatures xsi:type="ecore:EReference" name="location" lowerBound="1"
28 eType="#//Segment" eOpposite="#//Segment/occupiedBy"/>
29 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
30 <eStructuralFeatures xsi:type="ecore:EAttribute" name="speed" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
31 </eClassifiers>
32</ecore:EPackage>