| <?xml version="1.0" encoding="UTF-8"?> |
| <xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:Codegen="http://www.eclipse.org/papyrus/Codegen/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:python="http://www.eclipse.org/papyrus/python/1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> |
| <uml:Model xmi:id="_1_ToYCoNEeOncLSXAkfRBA" name="PythonCodegenTest" visibility="package"> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_e8kPQL3DEe2RoYDZpMQu0g" annotatedElement="_VaYZUCzyEe2vkqc4zQtyTg"> |
| <body>inheritance from enumeration is not supported by Python, except if the 1st class does not define any literal. I.e. the generated code does not run. |
| We keep this test to adapt generation eventually in the future</body> |
| </ownedComment> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_1_ToYSoNEeOncLSXAkfRBA"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_4JblAM08EeybfstlUDn2hQ"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_AeuHALqcEeyhqPU6Rl4sVQ"/> |
| </packageImport> |
| <packagedElement xmi:type="uml:Class" xmi:id="_zi_sgLzBEeyQFo3GZXaVyQ" name="Class1"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_HnhvgDNrEe2uVJftqE2OEw" name="var1"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_iyb7YCgXEe2lbObJJftz8Q"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_LWXYwDNrEe2uVJftqE2OEw" name="var2" visibility="private"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_k5qGkCgXEe2lbObJJftz8Q"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_QDRz0DNrEe2uVJftqE2OEw" name="var3" visibility="protected"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_nbxeACgXEe2lbObJJftz8Q"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_UjkIIDNrEe2uVJftqE2OEw" name="var4"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_o81BECgXEe2lbObJJftz8Q"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_XZkE4DNrEe2uVJftqE2OEw" name="static_var1" isStatic="true"> |
| <type xmi:type="uml:DataType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_8XjA0LqcEeyhqPU6Rl4sVQ"/> |
| </ownedAttribute> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_eR-uMDNrEe2uVJftqE2OEw" name="op1" visibility="private" method="_8dSPMDNrEe2uVJftqE2OEw"> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_1wtpgDNrEe2uVJftqE2OEw" name="a"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_iyb7YCgXEe2lbObJJftz8Q"/> |
| <defaultValue xmi:type="uml:LiteralInteger" xmi:id="_1wtpgTNrEe2uVJftqE2OEw" value="2"/> |
| </ownedParameter> |
| </ownedOperation> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_fKQaADNrEe2uVJftqE2OEw" name="op2" visibility="public" method="_SDDdwDNsEe2uVJftqE2OEw"> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_EGDXYDNsEe2uVJftqE2OEw" name="a"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_k5qGkCgXEe2lbObJJftz8Q"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_LW-nUDNsEe2uVJftqE2OEw" name="b"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_k5qGkCgXEe2lbObJJftz8Q"/> |
| </ownedParameter> |
| </ownedOperation> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_fyL8sDNrEe2uVJftqE2OEw" name="op3" visibility="protected"/> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_g0ypMDNrEe2uVJftqE2OEw" name="static_op" isStatic="true" method="_Z9TXgDNsEe2uVJftqE2OEw"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_z2iTkLzBEeyQFo3GZXaVyQ" name="Class2"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_i9J5UDNqEe2uVJftqE2OEw" name="a" isStatic="true"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_k5qGkCgXEe2lbObJJftz8Q"/> |
| <defaultValue xmi:type="uml:LiteralReal" xmi:id="_-kxVkDNqEe2uVJftqE2OEw" value="1.1"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_m7YCYDNqEe2uVJftqE2OEw" name="b" isStatic="true"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_iyb7YCgXEe2lbObJJftz8Q"/> |
| <defaultValue xmi:type="uml:LiteralInteger" xmi:id="_9KqIADNqEe2uVJftqE2OEw" value="5"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_sCRDsDNqEe2uVJftqE2OEw" name="c" isStatic="true"> |
| <type xmi:type="uml:DataType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#___Vm4LqcEeyhqPU6Rl4sVQ"/> |
| <defaultValue xmi:type="uml:OpaqueExpression" xmi:id="_CinrMDNrEe2uVJftqE2OEw"> |
| <language>Python</language> |
| <body>1+1j</body> |
| </defaultValue> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_5hPzoLzBEeyQFo3GZXaVyQ" name="SpecialisedClass2"> |
| <generalization xmi:type="uml:Generalization" xmi:id="_FJzyMLzCEeyQFo3GZXaVyQ" general="__VtFkLzBEeyQFo3GZXaVyQ"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_5z8GILzBEeyQFo3GZXaVyQ" name="SpecialisedClass1"> |
| <generalization xmi:type="uml:Generalization" xmi:id="_D_6x8LzCEeyQFo3GZXaVyQ" general="__VtFkLzBEeyQFo3GZXaVyQ"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="__VtFkLzBEeyQFo3GZXaVyQ" name="AbstractClass"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_HIezcLzEEeymLfF7IeW-NA" name="SuperClass1"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_IJpVgLzEEeymLfF7IeW-NA" name="SuperClass2"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_JA4fgLzEEeymLfF7IeW-NA" name="SuperClass3"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_J4cZoLzEEeymLfF7IeW-NA" name="DaughterClass"> |
| <generalization xmi:type="uml:Generalization" xmi:id="_P6T1cLzEEeymLfF7IeW-NA" general="_JA4fgLzEEeymLfF7IeW-NA"/> |
| <generalization xmi:type="uml:Generalization" xmi:id="_QgivALzEEeymLfF7IeW-NA" general="_IJpVgLzEEeymLfF7IeW-NA"/> |
| <generalization xmi:type="uml:Generalization" xmi:id="_Q8UsELzEEeymLfF7IeW-NA" general="_HIezcLzEEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Package" xmi:id="_WBLtELzEEeymLfF7IeW-NA" name="Package1"> |
| <packagedElement xmi:type="uml:Class" xmi:id="_ZD9hkLzEEeymLfF7IeW-NA" name="Pack1Class1"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_fHnGELzEEeymLfF7IeW-NA" name="Pack1Class2"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_fM29A7zFEeymLfF7IeW-NA" name="pack1_1class1" type="_smmawLzEEeymLfF7IeW-NA" aggregation="composite" association="_fM29ALzFEeymLfF7IeW-NA"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_fM29BLzFEeymLfF7IeW-NA"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_fM29BbzFEeymLfF7IeW-NA" value="1"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_gLiLw7zFEeymLfF7IeW-NA" name="pack1_1_1class1" type="_FygCgLzFEeymLfF7IeW-NA" aggregation="shared" association="_gLiLwLzFEeymLfF7IeW-NA"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_gLiLxLzFEeymLfF7IeW-NA"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_gLiLxbzFEeymLfF7IeW-NA" value="1"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Enumeration" xmi:id="_g3YakLzEEeymLfF7IeW-NA" name="Pack1Enumeration1"/> |
| <packagedElement xmi:type="uml:Package" xmi:id="_jrObMLzEEeymLfF7IeW-NA" name="Package1_1"> |
| <packagedElement xmi:type="uml:Class" xmi:id="_smmawLzEEeymLfF7IeW-NA" name="Pack1_1Class1"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_ulPRsLzEEeymLfF7IeW-NA" name="Pack1_1Class2"/> |
| <packagedElement xmi:type="uml:Enumeration" xmi:id="_x0hRILzEEeymLfF7IeW-NA" name="Pack1_1Enumeration1"/> |
| <packagedElement xmi:type="uml:Package" xmi:id="_AIee8LzFEeymLfF7IeW-NA" name="Package1_1_1"> |
| <packagedElement xmi:type="uml:Class" xmi:id="_FygCgLzFEeymLfF7IeW-NA" name="Pack1_1_1Class1"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_HT15cLzFEeymLfF7IeW-NA" name="Pack1_1_1Class2"/> |
| <packagedElement xmi:type="uml:Dependency" xmi:id="_18p1oL-tEeyj28d_gh3VAA" name="dep3" client="_FygCgLzFEeymLfF7IeW-NA" supplier="_ulPRsLzEEeymLfF7IeW-NA"/> |
| </packagedElement> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_L5jgULzFEeymLfF7IeW-NA" name="DependencyTest"/> |
| <packagedElement xmi:type="uml:Dependency" xmi:id="_QFFFkLzFEeymLfF7IeW-NA" name="dep1" client="_L5jgULzFEeymLfF7IeW-NA" supplier="_HT15cLzFEeymLfF7IeW-NA"/> |
| <packagedElement xmi:type="uml:Dependency" xmi:id="_SxfogLzFEeymLfF7IeW-NA" name="dep2" client="_L5jgULzFEeymLfF7IeW-NA" supplier="_ulPRsLzEEeymLfF7IeW-NA"/> |
| <packagedElement xmi:type="uml:Dependency" xmi:id="_ldD1cMeqEeye9_2BJtOCoA" client="_L5jgULzFEeymLfF7IeW-NA" supplier="_AIee8LzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_ZfACULzFEeymLfF7IeW-NA" memberEnd="_ZfJzUrzFEeymLfF7IeW-NA _ZfJzU7zFEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ZfJzULzFEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ZfJzUbzFEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_ZfJzUrzFEeymLfF7IeW-NA" name="pack1_1class1" type="_smmawLzEEeymLfF7IeW-NA" association="_ZfACULzFEeymLfF7IeW-NA"/> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_ZfJzU7zFEeymLfF7IeW-NA" name="pack1class1" type="_ZD9hkLzEEeymLfF7IeW-NA" association="_ZfACULzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_buexoLzFEeymLfF7IeW-NA" memberEnd="_buexo7zFEeymLfF7IeW-NA _buexpLzFEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_buexobzFEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_buexorzFEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_buexo7zFEeymLfF7IeW-NA" name="pack1_1_1class1" type="_FygCgLzFEeymLfF7IeW-NA" association="_buexoLzFEeymLfF7IeW-NA"/> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_buexpLzFEeymLfF7IeW-NA" name="pack1class1" type="_ZD9hkLzEEeymLfF7IeW-NA" association="_buexoLzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_fM29ALzFEeymLfF7IeW-NA" memberEnd="_fM29A7zFEeymLfF7IeW-NA _fM29BrzFEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_fM29AbzFEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_fM29ArzFEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_fM29BrzFEeymLfF7IeW-NA" name="pack2class2" type="_fHnGELzEEeymLfF7IeW-NA" association="_fM29ALzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_gLiLwLzFEeymLfF7IeW-NA" memberEnd="_gLiLw7zFEeymLfF7IeW-NA _gLiLxrzFEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_gLiLwbzFEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_gLiLwrzFEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_gLiLxrzFEeymLfF7IeW-NA" name="pack2class2" type="_fHnGELzEEeymLfF7IeW-NA" association="_gLiLwLzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_sx5PULzFEeymLfF7IeW-NA" name="CompositionClass"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_AhJBI7zGEeymLfF7IeW-NA" name="elementclass1" type="_0TZ48LzFEeymLfF7IeW-NA" aggregation="composite" association="_AhJBILzGEeymLfF7IeW-NA"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_AhJBJLzGEeymLfF7IeW-NA"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_AhJBJbzGEeymLfF7IeW-NA" value="5"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_Cn22A7zGEeymLfF7IeW-NA" name="elementclass2" type="_2Br_sLzFEeymLfF7IeW-NA" aggregation="composite" association="_Cn22ALzGEeymLfF7IeW-NA"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Cn22BLzGEeymLfF7IeW-NA"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Cn22BbzGEeymLfF7IeW-NA" value="1"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_waQdILzFEeymLfF7IeW-NA" name="AssociationClass"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_xd0y8LzFEeymLfF7IeW-NA" name="AggregationClass"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_D3w-s7zGEeymLfF7IeW-NA" name="elementclass2" type="_2Br_sLzFEeymLfF7IeW-NA" aggregation="shared" association="_D3w-sLzGEeymLfF7IeW-NA"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_D3w-tLzGEeymLfF7IeW-NA"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_D3w-tbzGEeymLfF7IeW-NA" value="1"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_E4_yM7zGEeymLfF7IeW-NA" name="elementclass1" type="_0TZ48LzFEeymLfF7IeW-NA" aggregation="shared" association="_E4_yMLzGEeymLfF7IeW-NA"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_E4_yNLzGEeymLfF7IeW-NA"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_E4_yNbzGEeymLfF7IeW-NA" value="1"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_0TZ48LzFEeymLfF7IeW-NA" name="ElementClass1"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_2Br_sLzFEeymLfF7IeW-NA" name="ElementClass2"/> |
| <packagedElement xmi:type="uml:Association" xmi:id="_6ciaYLzFEeymLfF7IeW-NA" memberEnd="_6csLYrzFEeymLfF7IeW-NA _6csLY7zFEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6csLYLzFEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6csLYbzFEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_6csLYrzFEeymLfF7IeW-NA" name="elementclass1" type="_0TZ48LzFEeymLfF7IeW-NA" association="_6ciaYLzFEeymLfF7IeW-NA"/> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_6csLY7zFEeymLfF7IeW-NA" name="associationclass" type="_waQdILzFEeymLfF7IeW-NA" association="_6ciaYLzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_8vpsgLzFEeymLfF7IeW-NA" memberEnd="_8vpsg7zFEeymLfF7IeW-NA _8vpshLzFEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8vpsgbzFEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8vpsgrzFEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_8vpsg7zFEeymLfF7IeW-NA" name="elementclass1" type="_0TZ48LzFEeymLfF7IeW-NA" association="_8vpsgLzFEeymLfF7IeW-NA"/> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_8vpshLzFEeymLfF7IeW-NA" name="associationclass" type="_waQdILzFEeymLfF7IeW-NA" association="_8vpsgLzFEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_AhJBILzGEeymLfF7IeW-NA" memberEnd="_AhJBI7zGEeymLfF7IeW-NA _AhJBJrzGEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_AhJBIbzGEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_AhJBIrzGEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_AhJBJrzGEeymLfF7IeW-NA" name="compositionclass" type="_sx5PULzFEeymLfF7IeW-NA" association="_AhJBILzGEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_Cn22ALzGEeymLfF7IeW-NA" memberEnd="_Cn22A7zGEeymLfF7IeW-NA _Cn22BrzGEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Cn22AbzGEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Cn22ArzGEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_Cn22BrzGEeymLfF7IeW-NA" name="compositionclass" type="_sx5PULzFEeymLfF7IeW-NA" association="_Cn22ALzGEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_D3w-sLzGEeymLfF7IeW-NA" memberEnd="_D3w-s7zGEeymLfF7IeW-NA _D3w-trzGEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_D3w-sbzGEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_D3w-srzGEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_D3w-trzGEeymLfF7IeW-NA" name="aggregationclass" type="_xd0y8LzFEeymLfF7IeW-NA" association="_D3w-sLzGEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Association" xmi:id="_E4_yMLzGEeymLfF7IeW-NA" memberEnd="_E4_yM7zGEeymLfF7IeW-NA _E4_yNrzGEeymLfF7IeW-NA"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_E4_yMbzGEeymLfF7IeW-NA" source="org.eclipse.papyrus"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_E4_yMrzGEeymLfF7IeW-NA" key="nature" value="UML_Nature"/> |
| </eAnnotations> |
| <ownedEnd xmi:type="uml:Property" xmi:id="_E4_yNrzGEeymLfF7IeW-NA" name="aggregationclass" type="_xd0y8LzFEeymLfF7IeW-NA" association="_E4_yMLzGEeymLfF7IeW-NA"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_DU1bULzHEeymLfF7IeW-NA" name="InterfaceTestClass" visibility="protected"/> |
| <packagedElement xmi:type="uml:Interface" xmi:id="_GcLmwLzHEeymLfF7IeW-NA" name="InterfaceTest"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_vPfusMqxEey2jfrcZnTxzA" name="Property3"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_iyb7YCgXEe2lbObJJftz8Q"/> |
| <defaultValue xmi:type="uml:LiteralInteger" xmi:id="_4bUlEMqxEey2jfrcZnTxzA" value="2"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_7PZRYMrAEeyzI-z5Pghw9A" name="Property4"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusPython_LIBRARIES/PythonStdLib.uml#_iyb7YCgXEe2lbObJJftz8Q"/> |
| <defaultValue xmi:type="uml:LiteralInteger" xmi:id="_T0nRoM1IEeybfstlUDn2hQ"/> |
| </ownedAttribute> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_yT4AEMF5EeyzE6XAADfKWA" name="printHi" isAbstract="true"/> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_9BdcwMF8EeyzE6XAADfKWA" name="printHello" isAbstract="true"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Enumeration" xmi:id="_qBOzoLzHEeymLfF7IeW-NA" name="EnumerationTest1"> |
| <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_wMMRAMCsEeyzE6XAADfKWA" name="EnumerationLiteral1"/> |
| <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_wf53MMCsEeyzE6XAADfKWA" name="EnumerationLiteral2"/> |
| <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_wz-CsMCsEeyzE6XAADfKWA" name="EnumerationLiteral3"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_rrIJoLzHEeymLfF7IeW-NA" name="EnumerationTestClass"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_DhC2oDAbEe2u3uiouzrJKw" name="var1" type="_qBOzoLzHEeymLfF7IeW-NA"> |
| <defaultValue xmi:type="uml:InstanceValue" xmi:id="_Tku8sDAbEe2u3uiouzrJKw" instance="_wMMRAMCsEeyzE6XAADfKWA"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_p6lkYDAbEe2u3uiouzrJKw" name="var2" type="_STxNsCzyEe2vkqc4zQtyTg"> |
| <defaultValue xmi:type="uml:InstanceValue" xmi:id="_1Ue00DAbEe2u3uiouzrJKw" instance="_XZB3UCzyEe2vkqc4zQtyTg"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Realization" xmi:id="_nt0PwMetEeyuefy618DP4A" client="_DU1bULzHEeymLfF7IeW-NA" supplier="_GcLmwLzHEeymLfF7IeW-NA"/> |
| <packagedElement xmi:type="uml:DataType" xmi:id="_tBEwwMe7Eey0OLBTqXqG0A" name="DataType1"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_v-N3UMe7Eey0OLBTqXqG0A" name="Property1"/> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_xUlNUMe7Eey0OLBTqXqG0A" name="Property2"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_iKPzcO1SEeyPk7TeCGA9EQ" name="testModule"/> |
| <packagedElement xmi:type="uml:Dependency" xmi:id="_p5qWMO1SEeyPk7TeCGA9EQ" client="_iKPzcO1SEeyPk7TeCGA9EQ" supplier="_gk3KAO1SEeyPk7TeCGA9EQ"/> |
| <packagedElement xmi:type="uml:Dependency" xmi:id="_qaXPgO1SEeyPk7TeCGA9EQ" client="_iKPzcO1SEeyPk7TeCGA9EQ" supplier="_hWNucO1SEeyPk7TeCGA9EQ"/> |
| <packagedElement xmi:type="uml:Package" xmi:id="_AURQIO1VEeyoTvQE7Aqjjg" name="module_package"> |
| <packagedElement xmi:type="uml:Package" xmi:id="_evhZAO1SEeyPk7TeCGA9EQ" name="module1"> |
| <packagedElement xmi:type="uml:Class" xmi:id="_gk3KAO1SEeyPk7TeCGA9EQ" name="mClass1"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_hWNucO1SEeyPk7TeCGA9EQ" name="mClass2"/> |
| </packagedElement> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Enumeration" xmi:id="_STxNsCzyEe2vkqc4zQtyTg" name="EnumerationTest2"> |
| <generalization xmi:type="uml:Generalization" xmi:id="_VaYZUCzyEe2vkqc4zQtyTg" general="_qBOzoLzHEeymLfF7IeW-NA"/> |
| <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_XZB3UCzyEe2vkqc4zQtyTg" name="EnumerationLiteral4"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_8dSPMDNrEe2uVJftqE2OEw" name="add_one" specification="_eR-uMDNrEe2uVJftqE2OEw"> |
| <language>Python</language> |
| <body>return a + 1</body> |
| </packagedElement> |
| <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_SDDdwDNsEe2uVJftqE2OEw" specification="_fKQaADNrEe2uVJftqE2OEw"> |
| <language>Python</language> |
| <body>return a * b</body> |
| </packagedElement> |
| <packagedElement xmi:type="uml:OpaqueBehavior" xmi:id="_Z9TXgDNsEe2uVJftqE2OEw" specification="_g0ypMDNrEe2uVJftqE2OEw"> |
| <language>Python</language> |
| <body>print('print something...')</body> |
| </packagedElement> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_oCdSgGNyEeO-Le8KnWSqzQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_oCxbkGNyEeO-Le8KnWSqzQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_G-em4OHrEeeIi5Jk6ttB5w"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_G-nw0OHrEeeIi5Jk6ttB5w" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/Codegen/1#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://Codegen_PROFILES/Codegen.profile.uml#_fPDsIBa-EearhdjjJ6cVzQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Jyg-IO1TEeyPk7TeCGA9EQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Jyg-Ie1TEeyPk7TeCGA9EQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/python/1#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://PapyrusPython_PROFILES/python.profile.uml#_ZZc2IOjGEeyu5-ah8U05Lg"/> |
| </profileApplication> |
| </uml:Model> |
| <Codegen:GeneratorHint xmi:id="_tmGCMIMuEeuRSe7mD2irrg" base_Element="_1_ToYCoNEeOncLSXAkfRBA" generatorID="Simple Python"> |
| <language xmi:type="Codegen:Language" href="pathmap://Codegen_PROFILES/languages.uml#_-KO24LevEeqRG-TdtCFO7g"/> |
| </Codegen:GeneratorHint> |
| <python:Module xmi:id="_NDj4IO1TEeyPk7TeCGA9EQ" base_Package="_evhZAO1SEeyPk7TeCGA9EQ"/> |
| <python:Main xmi:id="_zblM4DNlEe2uVJftqE2OEw" body="print(Class2.a+Class2.b+Class2.c)" base_Class="_z2iTkLzBEeyQFo3GZXaVyQ"/> |
| </xmi:XMI> |