timing.genmodel 12.2 KB
Newer Older
Alexander Diewald's avatar
Alexander Diewald committed
1
2
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
3
4
    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="(c) 2017 fortiss GmbH. GENERATED CODE: Do not edit, see Ecore metamodel instead!"
    modelDirectory="/org.fortiss.af3.timing/generated-src" editDirectory="/org.fortiss.af3.timing.edit/generated-src"
5
6
    editorDirectory="/org.fortiss.af3.timing.editor/generated-src" modelPluginID="org.fortiss.af3.timing"
    modelName="Timing" testsDirectory="/org.fortiss.af3.timing.tests/generated-src"
Simon Barner's avatar
Simon Barner committed
7
    importerID="org.eclipse.emf.importer.ecore" containmentProxies="true" complianceLevel="8.0"
8
    copyrightFields="false" usedGenPackages="platform:/resource/org.fortiss.tooling.base/model/base.genmodel#//model platform:/resource/org.fortiss.tooling.kernel/model/kernel.genmodel#//model">
Alexander Diewald's avatar
Alexander Diewald committed
9
  <foreignModel>timing.ecore</foreignModel>
Simon Barner's avatar
Simon Barner committed
10
  <genPackages prefix="AF3Timing" basePackage="org.fortiss.af3.timing" disposableProviderFactory="true"
Alexander Diewald's avatar
Alexander Diewald committed
11
      ecorePackage="timing.ecore#/">
12
    <genDataTypes ecoreDataType="timing.ecore#//Time"/>
13
    <genClasses ecoreClass="timing.ecore#//TimingSpecification">
14
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//TimingSpecification/rootElements"/>
15
16
17
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//TimingSpecification/eventsContainer"/>
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//TimingSpecification/eventChainsContainer"/>
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//TimingSpecification/constraintsContainer"/>
18
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getEvents"
19
          body="return TimingSpecificationStaticImpl.getEvents(this);"/>
20
21
22
23
24
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getEvent"
          body="return TimingSpecificationStaticImpl.getEvent(this, element, type);">
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getEvent/element"/>
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getEvent/type"/>
        <genTypeParameters ecoreTypeParameter="timing.ecore#//TimingSpecification/getEvent/T"/>
25
      </genOperations>
26
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getEvents.1"
27
          body="return TimingSpecificationStaticImpl.getEvents(this, element);">
28
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getEvents.1/element"/>
29
      </genOperations>
30
31
32
33
34
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getEvents.2"
          body="return TimingSpecificationStaticImpl.getEvents(this, type);">
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getEvents.2/type"/>
        <genTypeParameters ecoreTypeParameter="timing.ecore#//TimingSpecification/getEvents.2/T"/>
      </genOperations>
35
36
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getEventChains"
          body="return TimingSpecificationStaticImpl.getEventChains(this);"/>
Simon Barner's avatar
Simon Barner committed
37
38
39
40
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/addEvent"
          body="TimingSpecificationStaticImpl.addEvent(this, event);">
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/addEvent/event"/>
      </genOperations>
Simon Barner's avatar
Simon Barner committed
41
42
43
44
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getEventChains.1"
          body="return TimingSpecificationStaticImpl.getEventChains(this, event);">
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getEventChains.1/event"/>
      </genOperations>
45
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getConstraints"
46
47
          body="return TimingSpecificationStaticImpl.getConstraints(this);"/>
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getConstraints.1"
48
          body="return TimingSpecificationStaticImpl.getConstraints(this, event);">
49
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraints.1/event"/>
50
      </genOperations>
51
52
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getConstraint"
          body="return TimingSpecificationStaticImpl.getConstraint(this, event, type);">
53
54
55
56
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraint/event"/>
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraint/type"/>
        <genTypeParameters ecoreTypeParameter="timing.ecore#//TimingSpecification/getConstraint/T"/>
      </genOperations>
57
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getConstraints.2"
58
          body="return TimingSpecificationStaticImpl.getConstraints(this, element);">
59
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraints.2/element"/>
60
      </genOperations>
61
62
      <genOperations ecoreOperation="timing.ecore#//TimingSpecification/getConstraint.1"
          body="return TimingSpecificationStaticImpl.getConstraint(this, element, constraintType, eventType);">
63
64
65
66
67
68
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraint.1/element"/>
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraint.1/constraintType"/>
        <genParameters ecoreParameter="timing.ecore#//TimingSpecification/getConstraint.1/eventType"/>
        <genTypeParameters ecoreTypeParameter="timing.ecore#//TimingSpecification/getConstraint.1/C"/>
        <genTypeParameters ecoreTypeParameter="timing.ecore#//TimingSpecification/getConstraint.1/E"/>
      </genOperations>
69
    </genClasses>
70
71
72
73
74
75
    <genClasses ecoreClass="timing.ecore#//EventsContainer">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//EventsContainer/events"/>
    </genClasses>
    <genClasses ecoreClass="timing.ecore#//EventChainsContainer">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//EventChainsContainer/eventChains"/>
    </genClasses>
76
77
    <genClasses ecoreClass="timing.ecore#//EventConstraintsContainer">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//EventConstraintsContainer/constraints"/>
78
79
80
81
    </genClasses>
    <genClasses ecoreClass="timing.ecore#//Event">
      <genOperations ecoreOperation="timing.ecore#//Event/getEntity" body="return EventStaticImpl.getEntity(this);"/>
    </genClasses>
82
    <genClasses ecoreClass="timing.ecore#//EntityEvent"/>
Simon Barner's avatar
Simon Barner committed
83
84
85
86
87
88
89
    <genClasses image="false" ecoreClass="timing.ecore#//EventReference">
      <genOperations ecoreOperation="timing.ecore#//EventReference/setEvent" body="EventReferenceStaticImpl.setEvent(this, event, ref);">
        <genParameters ecoreParameter="timing.ecore#//EventReference/setEvent/event"/>
        <genParameters ecoreParameter="timing.ecore#//EventReference/setEvent/ref"/>
        <genTypeParameters ecoreTypeParameter="timing.ecore#//EventReference/setEvent/T"/>
      </genOperations>
    </genClasses>
90
91
92
    <genClasses ecoreClass="timing.ecore#//EventChain">
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//EventChain/stimulus"/>
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//EventChain/response"/>
93
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//EventChain/subchains"/>
94
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference timing.ecore#//EventChain/constraints"/>
95
      <genOperations ecoreOperation="timing.ecore#//EventChain/getParentChain" body="return EventChainStaticImpl.getParentChain(this);"/>
96
      <genOperations ecoreOperation="timing.ecore#//EventChain/getRootChain" body="return EventChainStaticImpl.getRootChain(this);"/>
97
98
99
100
101
102
103
104
105
106
      <genOperations ecoreOperation="timing.ecore#//EventChain/getStimulus" body="return EventChainStaticImpl.getStimulus(this);"/>
      <genOperations ecoreOperation="timing.ecore#//EventChain/setStimulus" body="EventChainStaticImpl.setStimulus(this, event);">
        <genParameters ecoreParameter="timing.ecore#//EventChain/setStimulus/event"/>
      </genOperations>
      <genOperations ecoreOperation="timing.ecore#//EventChain/getResponse" body="return EventChainStaticImpl.getResponse(this);"/>
      <genOperations ecoreOperation="timing.ecore#//EventChain/setResponse" body="EventChainStaticImpl.setResponse(this, event);">
        <genParameters ecoreParameter="timing.ecore#//EventChain/setResponse/event"/>
      </genOperations>
      <genOperations ecoreOperation="timing.ecore#//EventChain/isFirstSubChain" body="return EventChainStaticImpl.isFirstSubChain(this);"/>
      <genOperations ecoreOperation="timing.ecore#//EventChain/isLastSubChain" body="return EventChainStaticImpl.isLastSubChain(this);"/>
107
    </genClasses>
Simon Barner's avatar
Simon Barner committed
108
    <genClasses image="false" ecoreClass="timing.ecore#//TimingConstraint"/>
109
110
111
112
113
114
115
116
117
118
119
120
121
122
    <genClasses image="false" ecoreClass="timing.ecore#//EventConstraint"/>
    <genClasses ecoreClass="timing.ecore#//PeriodicConstraint">
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//PeriodicConstraint/event"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//PeriodicConstraint/period"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//PeriodicConstraint/jitter"/>
    </genClasses>
    <genClasses ecoreClass="timing.ecore#//SporadicConstraint">
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//SporadicConstraint/event"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//SporadicConstraint/minDistance"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//SporadicConstraint/jitter"/>
    </genClasses>
    <genClasses ecoreClass="timing.ecore#//AperiodicConstraint">
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//AperiodicConstraint/event"/>
    </genClasses>
123
124
125
126
    <genClasses ecoreClass="timing.ecore#//SynchronizationConstraint">
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference timing.ecore#//SynchronizationConstraint/events"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//SynchronizationConstraint/tolerance"/>
    </genClasses>
127
    <genClasses image="false" ecoreClass="timing.ecore#//EventChainConstraint">
128
129
      <genOperations ecoreOperation="timing.ecore#//EventChainConstraint/getEventChain"
          body="return EventChainConstraintStaticImpl.getEventChain(this);"/>
130
131
132
133
134
    </genClasses>
    <genClasses ecoreClass="timing.ecore#//ReactionConstraint">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//ReactionConstraint/minimum"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//ReactionConstraint/maximum"/>
    </genClasses>
Simon Barner's avatar
Simon Barner committed
135
    <nestedGenPackages prefix="AF3TimingAnnotation" basePackage="org.fortiss.af3.timing.model"
Alexander Diewald's avatar
Alexander Diewald committed
136
137
        disposableProviderFactory="true" ecorePackage="timing.ecore#//annotation">
      <genClasses ecoreClass="timing.ecore#//annotation/TransmissionUnitBandwidth">
138
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//annotation/TransmissionUnitBandwidth/bandwidth_MBitS"/>
Alexander Diewald's avatar
Alexander Diewald committed
139
      </genClasses>
140
141
142
      <genClasses ecoreClass="timing.ecore#//annotation/Wcet">
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//annotation/Wcet/value"/>
      </genClasses>
143
144
145
      <genClasses ecoreClass="timing.ecore#//annotation/Period">
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute timing.ecore#//annotation/Period/value"/>
      </genClasses>
Alexander Diewald's avatar
Alexander Diewald committed
146
147
148
    </nestedGenPackages>
  </genPackages>
</genmodel:GenModel>