Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml56
1 files changed, 41 insertions, 15 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml
index 4a47fff2100..1ad9fc1250d 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/profileEdition/EditConstraintOnPropertyofSterotype.profile.uml
@@ -1,23 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<uml:Profile xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_929swG-zEeK5cr7NUZ6onQ" name="EditConstraintOnPropertyOfStereotype" metaclassReference="_ERI64G-0EeK5cr7NUZ6onQ">
<eAnnotations xmi:id="_-67nAW-6EeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <contents xmi:type="ecore:EPackage" xmi:id="_-67nAm-6EeK5cr7NUZ6onQ" name="EditConstraintOnPropertyOfStereotype" nsURI="http:///schemas/EditConstraintOnPropertyOfStereotype/_-67nAG-6EeK5cr7NUZ6onQ/0" nsPrefix="EditConstraintOnPropertyOfStereotype">
- <eAnnotations xmi:id="_-68OEW-6EeK5cr7NUZ6onQ" source="PapyrusVersion">
- <details xmi:id="_-68OEm-6EeK5cr7NUZ6onQ" key="Version" value="0.0.1"/>
- <details xmi:id="_-68OE2-6EeK5cr7NUZ6onQ" key="Comment" value=""/>
- <details xmi:id="_-68OFG-6EeK5cr7NUZ6onQ" key="Copyright" value=""/>
- <details xmi:id="_-68OFW-6EeK5cr7NUZ6onQ" key="Date" value="2013-02-05"/>
- <details xmi:id="_-68OFm-6EeK5cr7NUZ6onQ" key="Author" value=""/>
+ <contents xmi:type="ecore:EPackage" xmi:id="_KiQ3gZuiEeK-8bwrpj4Hxg" name="EditConstraintOnPropertyOfStereotype" nsURI="http:///schemas/EditConstraintOnPropertyOfStereotype/_KiQ3gJuiEeK-8bwrpj4Hxg/1" nsPrefix="EditConstraintOnPropertyOfStereotype">
+ <eAnnotations xmi:id="_KiQ3gpuiEeK-8bwrpj4Hxg" source="http://www.eclipse.org/emf/2002/Ecore">
+ <details xmi:id="_KiQ3g5uiEeK-8bwrpj4Hxg" key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL"/>
</eAnnotations>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_-67nA2-6EeK5cr7NUZ6onQ" name="Stereotype1">
- <eAnnotations xmi:id="_-67nBG-6EeK5cr7NUZ6onQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_ElEjgG-0EeK5cr7NUZ6onQ"/>
- <eAnnotations xmi:id="_-67nBW-6EeK5cr7NUZ6onQ" source="http://www.eclipse.org/emf/2002/GenModel">
- <details xmi:id="_-67nBm-6EeK5cr7NUZ6onQ" key="documentation" value="self.Property1.oclAsType(Integer)>10"/>
- </eAnnotations>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_-67nB2-6EeK5cr7NUZ6onQ" name="Property1" ordered="false" lowerBound="1">
+ <eAnnotations xmi:id="_KijycJuiEeK-8bwrpj4Hxg" source="PapyrusVersion">
+ <details xmi:id="_KijycZuiEeK-8bwrpj4Hxg" key="Version" value="0.0.2"/>
+ <details xmi:id="_KijycpuiEeK-8bwrpj4Hxg" key="Comment" value=""/>
+ <details xmi:id="_Kijyc5uiEeK-8bwrpj4Hxg" key="Copyright" value=""/>
+ <details xmi:id="_KijydJuiEeK-8bwrpj4Hxg" key="Date" value="2013-04-02"/>
+ <details xmi:id="_KijydZuiEeK-8bwrpj4Hxg" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_KiQ3hJuiEeK-8bwrpj4Hxg" name="Stereotype1">
+ <eAnnotations xmi:id="_KiQ3hZuiEeK-8bwrpj4Hxg" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_ElEjgG-0EeK5cr7NUZ6onQ"/>
+ <eOperations xmi:id="_KiQ3hpuiEeK-8bwrpj4Hxg" name="Constraint1">
+ <eAnnotations xmi:id="_KiQ3h5uiEeK-8bwrpj4Hxg" source="http://www.eclipse.org/emf/2002/Ecore/OCL">
+ <details xmi:id="_KiQ3iJuiEeK-8bwrpj4Hxg" key="body" value="self.Property1>10"/>
+ </eAnnotations>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eParameters xmi:id="_KiQ3ipuiEeK-8bwrpj4Hxg" name="diagnostics">
+ <eAnnotations xmi:id="_KiQ3i5uiEeK-8bwrpj4Hxg" source="http://www.eclipse.org/emf/2002/GenModel">
+ <details xmi:id="_KiQ3jJuiEeK-8bwrpj4Hxg" key="documentation" value="The chain of diagnostics to which problems are to be appended."/>
+ </eAnnotations>
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"/>
+ </eParameters>
+ <eParameters xmi:id="_KiQ3jpuiEeK-8bwrpj4Hxg" name="context">
+ <eAnnotations xmi:id="_KiQ3j5uiEeK-8bwrpj4Hxg" source="http://www.eclipse.org/emf/2002/GenModel">
+ <details xmi:id="_KiQ3kJuiEeK-8bwrpj4Hxg" key="documentation" value="The cache of context-specific information."/>
+ </eAnnotations>
+ <eGenericType xmi:id="_KiQ3kZuiEeK-8bwrpj4Hxg">
+ <eTypeArguments xmi:id="_KiQ3kpuiEeK-8bwrpj4Hxg">
+ <eClassifier xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ </eTypeArguments>
+ <eTypeArguments xmi:id="_KiQ3k5uiEeK-8bwrpj4Hxg">
+ <eClassifier xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ </eTypeArguments>
+ <eClassifier xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EMap"/>
+ </eGenericType>
+ </eParameters>
+ </eOperations>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_KiQ3lJuiEeK-8bwrpj4Hxg" name="Property1" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/>
</eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_-67nCW-6EeK5cr7NUZ6onQ" name="base_NamedElement" ordered="false" lowerBound="1">
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_KiQ3lpuiEeK-8bwrpj4Hxg" name="base_NamedElement" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
</eStructuralFeatures>
</eClassifiers>
@@ -33,7 +59,7 @@
<ownedRule xmi:id="_LXqRoG-0EeK5cr7NUZ6onQ" name="Constraint1" constrainedElement="_H5h94G-0EeK5cr7NUZ6onQ">
<specification xmi:type="uml:OpaqueExpression" xmi:id="_RHneEG-0EeK5cr7NUZ6onQ">
<language>OCL</language>
- <body>self.Property1.oclAsType(Integer)>10</body>
+ <body>self.Property1>10</body>
</specification>
</ownedRule>
<ownedAttribute xmi:id="_H5h94G-0EeK5cr7NUZ6onQ" name="Property1">

Back to the top