Commit 63593842 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

adds trace constraints

refs 2606
parent 25e2139a
......@@ -64,7 +64,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="externalRelation" upperBound="-1"
eType="#//ExternalRelation" containment="true" eOpposite="#//ExternalRelation/analysis"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Requirement" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement #//IImageContainer">
<eClassifiers xsi:type="ecore:EClass" name="Requirement" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement #//IImageContainer platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//constraints/IConstrained">
<eOperations name="getAnalysis" eType="#//Analysis">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return RequirementStaticImpl.getAnalysis(this);"/>
......@@ -619,4 +619,31 @@
<eLiterals name="ThenOnce" value="2" literal="Then once (event)"/>
</eClassifiers>
</eSubpackages>
<eSubpackages name="constraints" nsURI="http://www.fortiss.org/af3/mira/constraints"
nsPrefix="org-fortiss-af3-mira-constraints">
<eClassifiers xsi:type="ecore:EClass" name="TraceConstraint" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//constraints/IConstraint platform:/resource/org.fortiss.af3.review/model/review.ecore#//Review">
<eOperations name="getRequirement" eType="#//Requirement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.af3.mira.model.constraints.impl.TraceConstraintStaticImpl.getRequirement(this);"/>
</eAnnotations>
</eOperations>
<eOperations name="setRequirement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="org.fortiss.af3.mira.model.constraints.impl.TraceConstraintStaticImpl.setRequirement(this,req);"/>
</eAnnotations>
<eParameters name="req" eType="#//Requirement"/>
</eOperations>
<eOperations name="getTracedElement" eType="ecore:EClass platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//constraints/IConstrained">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.af3.mira.model.constraints.impl.TraceConstraintStaticImpl.getTracedElement(this);"/>
</eAnnotations>
</eOperations>
<eOperations name="setTracedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="org.fortiss.af3.mira.model.constraints.impl.TraceConstraintStaticImpl.setTracedElement(this,tracedElement);"/>
</eAnnotations>
<eParameters name="tracedElement" eType="ecore:EClass platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//constraints/IConstrained"/>
</eOperations>
</eClassifiers>
</eSubpackages>
</ecore:EPackage>
......@@ -4,7 +4,7 @@
editDirectory="/org.fortiss.af3.mira.edit/generated-src" editorDirectory="/org.fortiss.af3.mira.editor/generated-src"
modelPluginID="org.fortiss.af3.mira" modelName="Mira" editorPluginClass="org.fortiss.af3.mira.model.presentation.ModelEditorPlugin"
testsDirectory="/org.fortiss.af3.mira.tests/generated-src" importerID="org.eclipse.emf.importer.ecore"
containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="platform:/resource/org.fortiss.tooling.base/model/base.genmodel#//model platform:/resource/org.fortiss.tooling.kernel/model/kernel.genmodel#//model platform:/resource/org.fortiss.af3.component/model/component.genmodel#//model platform:/resource/org.fortiss.af3.project/model/project.genmodel#//model platform:/resource/org.fortiss.af3.expression/model/expression.genmodel#//model">
containmentProxies="true" complianceLevel="6.0" copyrightFields="false" usedGenPackages="platform:/resource/org.fortiss.tooling.base/model/base.genmodel#//model platform:/resource/org.fortiss.tooling.kernel/model/kernel.genmodel#//model platform:/resource/org.fortiss.af3.component/model/component.genmodel#//model platform:/resource/org.fortiss.af3.project/model/project.genmodel#//model platform:/resource/org.fortiss.af3.expression/model/expression.genmodel#//model platform:/resource/org.fortiss.af3.review/model/review.genmodel#//model">
<foreignModel>mira.ecore</foreignModel>
<genPackages prefix="Mira" basePackage="org.fortiss.af3.mira" disposableProviderFactory="true"
ecorePackage="mira.ecore#/">
......@@ -313,5 +313,18 @@
<genClasses ecoreClass="mira.ecore#//interfacebehaviour/ScopeSpecification"/>
<genClasses ecoreClass="mira.ecore#//interfacebehaviour/Response"/>
</nestedGenPackages>
<nestedGenPackages prefix="Constraints" basePackage="org.fortiss.af3.mira.model"
disposableProviderFactory="true" ecorePackage="mira.ecore#//constraints">
<genClasses ecoreClass="mira.ecore#//constraints/TraceConstraint">
<genOperations ecoreOperation="mira.ecore#//constraints/TraceConstraint/getRequirement"/>
<genOperations ecoreOperation="mira.ecore#//constraints/TraceConstraint/setRequirement">
<genParameters ecoreParameter="mira.ecore#//constraints/TraceConstraint/setRequirement/req"/>
</genOperations>
<genOperations ecoreOperation="mira.ecore#//constraints/TraceConstraint/getTracedElement"/>
<genOperations ecoreOperation="mira.ecore#//constraints/TraceConstraint/setTracedElement">
<genParameters ecoreParameter="mira.ecore#//constraints/TraceConstraint/setTracedElement/tracedElement"/>
</genOperations>
</genClasses>
</nestedGenPackages>
</genPackages>
</genmodel:GenModel>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment