diff options
author | Ed Willink | 2019-10-22 07:47:46 +0000 |
---|---|---|
committer | Ed Willink | 2019-10-28 15:53:51 +0000 |
commit | 7ae279db8f75ea49bf5d24101ae66cbad524f7bd (patch) | |
tree | fdd444ba6fc6c52428ab232e16c89ac0a4175c14 | |
parent | 48a64b681ced87832652d0689cac493e9c3ad503 (diff) | |
download | org.eclipse.qvtd-7ae279db8f75ea49bf5d24101ae66cbad524f7bd.tar.gz org.eclipse.qvtd-7ae279db8f75ea49bf5d24101ae66cbad524f7bd.tar.xz org.eclipse.qvtd-7ae279db8f75ea49bf5d24101ae66cbad524f7bd.zip |
[552253] Add TypedModel.iterates
3 files changed, 21 insertions, 2 deletions
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore b/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore index 20af89214..97dd5f4ef 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore +++ b/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore @@ -345,6 +345,9 @@ <eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName"> <details key="body" value="dependent"/> </eAnnotations> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The set of typed models that need to be checked/enforced before this TypedModel can be checked/enforced."/> + </eAnnotations> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="F-qvtbase-TypedModel-ownedContext" name="ownedContext" eType="ecore:EClass ../../org.eclipse.ocl.pivot/model/Pivot.ecore#T-pivot-Parameter" @@ -370,5 +373,11 @@ <details key="documentation" value="The TypedModel is for the execution trace. It may be added automatically."/> </eAnnotations> </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="F-qvtbase-TypedModel-iterates" + name="iterates" ordered="false" upperBound="-1" eType="#T-qvtbase-TypedModel"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The set of typed models whose elements are also part of this TypedModel. An input TypedModel that iterates an output TypedModel specfies a fixed point iteration."/> + </eAnnotations> + </eStructuralFeatures> </eClassifiers> </ecore:EPackage> diff --git a/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.genmodel b/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.genmodel index cc71f5113..90969ad84 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.genmodel +++ b/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.genmodel @@ -121,6 +121,7 @@ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute QVTbase.ecore#F-qvtbase-TypedModel-isPrimitive"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute QVTbase.ecore#F-qvtbase-TypedModel-isThis"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute QVTbase.ecore#F-qvtbase-TypedModel-isTrace"/> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference QVTbase.ecore#F-qvtbase-TypedModel-iterates"/> <genOperations ecoreOperation="QVTbase.ecore#//TypedModel/validateExclusivePrimitiveThisTrace"> <genParameters ecoreParameter="QVTbase.ecore#//TypedModel/validateExclusivePrimitiveThisTrace/diagnostics"/> <genParameters ecoreParameter="QVTbase.ecore#//TypedModel/validateExclusivePrimitiveThisTrace/context"/> diff --git a/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbaseStructural.ecore b/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbaseStructural.ecore index 5b161c030..a4afb7453 100644 --- a/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbaseStructural.ecore +++ b/plugins/org.eclipse.qvtd.pivot.qvtbase/model/QVTbaseStructural.ecore @@ -7,12 +7,12 @@ unsettable="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="A checkable domain may be selected as the target of a transformation in check mode. An enforceable domain is always checkable. A not-checkable domain cannot be selected as the target of a transformation. See Bug 549776.See Bug 549776."/> - </eAnnotations> + </eAnnotations> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EAttribute" name="isEnforceable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" unsettable="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="An enforceable domain may be selected as the target of a transformation in check or enforce mode. An enforceable domain is always checkable. A not-checkable domain cannot be selected as the target of a transformation. See Bug 549776."/> + <details key="documentation" value="An enforceable domain may be selected as the target of a transformation in check or enforce mode. An enforceable domain is always checkable. A not-checkable domain cannot be selected as the target of a transformation. See Bug 549776."/> </eAnnotations> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="rule" lowerBound="1" eType="#//Rule" @@ -98,6 +98,9 @@ <eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName"> <details key="body" value="dependent"/> </eAnnotations> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The set of typed models that need to be checked/enforced before this TypedModel can be checked/enforced."/> + </eAnnotations> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="ownedContext" eType="ecore:EClass ../../org.eclipse.ocl.pivot/model/Pivot.ecore#T-pivot-Parameter" containment="true"/> @@ -122,5 +125,11 @@ <details key="documentation" value="The TypedModel is for the execution trace. It may be added automatically."/> </eAnnotations> </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="iterates" ordered="false" + upperBound="-1" eType="#//TypedModel"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The set of typed models whose elements are also part of this TypedModel. An input TypedModel that iterates an output TypedModel specfies a fixed point iteration."/> + </eAnnotations> + </eStructuralFeatures> </eClassifiers> </ecore:EPackage> |