| <?xml version="1.0" encoding="UTF-8"?> |
| <xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"> |
| <uml:Profile xmi:id="_Data-ReferenceModelProfile" name="ReferenceModelProfile" URI="http://www.omg.org/spec/AML/20150501/ReferenceModelProfile.xmi" metamodelReference="_Data-ReferenceModelProfile-packageImport"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| &#160;The Reference Model Profile (RMP) enables the specification of reference models, upon which archetypes can be based. &#160;The RMP enables the identification of a root package that identifies the set of reference model elements (REM) that can be constrained by a collection of archetype model elements (AME) in an Archetype Library. |
| </p> |
| |
| <p> |
| &#160; |
| </p> |
| |
| <p> |
| The RMP provides the ability to associate the &quot;primitive data types&quot; identified in an instance of a Constraint Model Profile with the corresponding (mapped) data types in the reference model. &#160;It also allows properties in the target reference model to be identified as &quot;unconstrainable&quot;, because they carry &quot;runtime&quot; provenance and workflow information or because they carry &quot;infrastructure&quot; items such as archetype identifiers, etc. |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <elementImport xmi:id="_Data-ReferenceModelProfile-elementImport"> |
| <importedElement xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/XMLPrimitiveTypes.library.uml#_0"/> |
| </elementImport> |
| <packageImport xmi:id="_Data-ReferenceModelProfile-packageImport"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/> |
| </packageImport> |
| <packagedElement xmi:type="uml:Stereotype" xmi:id="_Data-ReferenceModelProfile-Infrastructure" name="Infrastructure"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-Infrastructure-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-size:10pt; font-family:Times New Roman;">An </span><span style="font-size:10pt; font-family:Times New Roman;">«Infrastructure» </span><span style="font-size:10pt; font-family:Times New Roman;">Property models an Archetype implementation aspect such as a specific Archetype identifier. &#160;Properties with an applied Infrastructure Stereotype cannot be constrained in&#160;AML.</span> |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-Infrastructure-base_Property" name="base_Property" visibility="private" association="_Data-ReferenceModelProfile-packagedElement-2"> |
| <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Extension" xmi:id="_Data-ReferenceModelProfile-packagedElement-2" memberEnd="_Data-ReferenceModelProfile-Infrastructure-base_Property _Data-ReferenceModelProfile-packagedElement-2-extension_" navigableOwnedEnd="_Data-ReferenceModelProfile-packagedElement-2-extension_"> |
| <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_Data-ReferenceModelProfile-packagedElement-2-extension_" name="extension_" visibility="private" type="_Data-ReferenceModelProfile-Infrastructure" aggregation="composite" association="_Data-ReferenceModelProfile-packagedElement-2"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Data-ReferenceModelProfile-packagedElement-2-extension_-lowerValue"/> |
| </ownedEnd> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Stereotype" xmi:id="_Data-ReferenceModelProfile-Runtime" name="Runtime"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-Runtime-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-size:10pt; font-family:Times New Roman;">A </span><span style="font-size:10pt; font-family:Times New Roman;">«Runtime» </span><span style="font-size:10pt; font-family:Times New Roman;">Property models</span> a dynamic or &quot;runtime&quot; element such as a time stamp. &#160;A Property with an applied Runtime Stereotype cannot be constrained using AML. |
| </p> |
| |
| <p> |
| &#160; |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-Runtime-base_Property" name="base_Property" visibility="private" association="_Data-ReferenceModelProfile-packagedElement-4"> |
| <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Extension" xmi:id="_Data-ReferenceModelProfile-packagedElement-4" memberEnd="_Data-ReferenceModelProfile-Runtime-base_Property _Data-ReferenceModelProfile-packagedElement-4-extension_" navigableOwnedEnd="_Data-ReferenceModelProfile-packagedElement-4-extension_"> |
| <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_Data-ReferenceModelProfile-packagedElement-4-extension_" name="extension_" visibility="private" type="_Data-ReferenceModelProfile-Runtime" aggregation="composite" association="_Data-ReferenceModelProfile-packagedElement-4"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Data-ReferenceModelProfile-packagedElement-4-extension_-lowerValue"/> |
| </ownedEnd> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Stereotype" xmi:id="_Data-ReferenceModelProfile-ReferenceModel" name="ReferenceModel"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-ReferenceModel-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-size:10pt; font-family:Times New Roman;">A </span><span style="font-size:10pt; font-family:Times New Roman;">«ReferenceModel» Package </span><span style="font-size:10pt; font-family:Times New Roman;">defines the complex data types and structural patterns that can be constrained by a collection of Archetypes. &#160;&#160;A </span><span style="font-size:10pt; font-family:Times New Roman;">«ReferenceModel» Stereotype includes tag definitions for the</span><span style="font-size:10pt; font-family:Times New Roman;"> publisher, namespace and version of a Reference Model in a form compatible with a modeling language such as [ADL].</span> |
| </p> |
| |
| <p> |
| &#160; |
| </p> |
| |
| <p> |
| &#160; |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <ownedRule xmi:id="_Data-ReferenceModelProfile-ReferenceModel-[AOM]_ARCHETYPE_HRID_Invariant_Rm_publisher_validity" name="[AOM] ARCHETYPE_HRID:Invariant:Rm_publisher_validity"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-ReferenceModel-[AOM]_ARCHETYPE_HRID_Invariant_Rm_publisher_validity-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p align="left" style="margin-top:0px;margin-left:0.0px;margin-bottom:0px;"> |
| <span style="font-weight:normal; color:#000000; font-family:TimesNewRomanPSMT; font-size:10pt;">The [AOM] ARCHETYPE_HRID/rm_publisher must have a value. &#160;This [AOM] Invariant maps to the AML Constraint that the </span><span style="font-family:Times New Roman,serif; font-size:10pt;">«ReferenceModel» &#160;rmPublisher is required.</span> |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <specification xmi:type="uml:OpaqueExpression" xmi:id="_Data-ReferenceModelProfile-ReferenceModel-[AOM]_ARCHETYPE_HRID_Invariant_Rm_publisher_validity-specification"> |
| <language>English</language> |
| <body>The requirement that there is a specified rmPublisher is enforced by the UML Semantic for the required tag rmPublisher.</body> |
| </specification> |
| </ownedRule> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-ReferenceModel-base_Package" name="base_Package" visibility="private" association="_Data-ReferenceModelProfile-packagedElement-6"> |
| <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmPublisher" name="rmPublisher" visibility="public"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmPublisher-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-size:10pt; font-family:Times New Roman;">The value of this tag is the name of the Reference Model publisher. &#160;This tag definition maps to the [AOM] ARCHETYPE_HRID/rm_publisher</span><span style="font-family:Times New Roman; font-size:10pt;"><i> </i></span><span style="font-family:Times New Roman; font-size:10pt;">attribute</span><span style="font-family:Times New Roman; font-size:10pt;">.</span> |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmNamespace" name="rmNamespace" visibility="public"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmNamespace-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-size:10pt; font-family:Times New Roman;">The value of this tag is the</span> reverse domain name of the namespace (for example, uk.gov.nhs). &#160;This tag definition maps to the [AOM] ARCHETYPE_HRID/namespace attribute. |
| </p> |
| |
| <p> |
| &#160; |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmNamespace-lowerValue"/> |
| </ownedAttribute> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmVersion" name="rmVersion" visibility="public"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmVersion-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-size:10pt; font-family:Times New Roman;">The value of this tag is the version id of the reference model on which the archetype is based. The tag maps to the [AOM] ARCHETYPE/rm_release attribute.</span> |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Data-ReferenceModelProfile-ReferenceModel-rmVersion-lowerValue"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Extension" xmi:id="_Data-ReferenceModelProfile-packagedElement-6" memberEnd="_Data-ReferenceModelProfile-ReferenceModel-base_Package _Data-ReferenceModelProfile-packagedElement-6-extension_" navigableOwnedEnd="_Data-ReferenceModelProfile-packagedElement-6-extension_"> |
| <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_Data-ReferenceModelProfile-packagedElement-6-extension_" name="extension_" visibility="private" type="_Data-ReferenceModelProfile-ReferenceModel" aggregation="composite" association="_Data-ReferenceModelProfile-packagedElement-6"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Data-ReferenceModelProfile-packagedElement-6-extension_-lowerValue"/> |
| </ownedEnd> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Stereotype" xmi:id="_Data-ReferenceModelProfile-MappedDataType" name="MappedDataType"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-MappedDataType-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| A <span style="font-size:10pt; font-family:Times New Roman;">«MappedDataType» Abstraction specifies the AML Primitive Type abstraction for a Reference Model Classifier</span>. &#160;&#160;AML Primitive types are defined by the UML Type Library and/or the XML Primitive Type Library. &#160;The client of the Abstraction is a Reference Model Classifier. &#160;The supplier of the Abstraction is an AML Primitive type. &#160;The mapping of the Abstraction defines the transformations between the Reference Model Classifier and its AML Primitive Type counterpart. &#160;Note that AML primitive Archetype Constraints are defined with respect to AML Primitive Types even when the Type being constrained is a Reference Model Type. |
| </p> |
| |
| <p> |
| &#160; |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <ownedRule xmi:id="_Data-ReferenceModelProfile-MappedDataType-isAMLDataType" name="isAMLDataType"> |
| <ownedComment xmi:id="_Data-ReferenceModelProfile-MappedDataType-isAMLDataType-ownedComment"> |
| <body><html> |
| <head> |
| <style> |
| p {padding:0px; margin:0px;} |
| </style> |
| </head> |
| <body> |
| <p> |
| <span style="font-family:Times New Roman; font-size:10pt;">The supplier AML Primitive Type must be an AML Primitive Type defined in the UML Primitive Type or XML Primitive Type libraries.</span> |
| |
| </p> |
| |
| </body> |
| </html></body> |
| </ownedComment> |
| <specification xmi:type="uml:OpaqueExpression" xmi:id="_Data-ReferenceModelProfile-MappedDataType-isAMLDataType-specification"> |
| <language>OCL</language> |
| <body>self.base_Abstraction.supplier->exists(s|s.oclIsKindOf(PrimitiveType) and ((s.namespace.name='XMLPrimitiveTypes') or (s.namespace.name='PrimitiveTypes')))</body> |
| </specification> |
| </ownedRule> |
| <ownedAttribute xmi:id="_Data-ReferenceModelProfile-MappedDataType-base_Abstraction" name="base_Abstraction" visibility="private" association="_Data-ReferenceModelProfile-packagedElement-8"> |
| <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> |
| </ownedAttribute> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Extension" xmi:id="_Data-ReferenceModelProfile-packagedElement-8" memberEnd="_Data-ReferenceModelProfile-MappedDataType-base_Abstraction _Data-ReferenceModelProfile-packagedElement-8-extension_MappedDataType" navigableOwnedEnd="_Data-ReferenceModelProfile-packagedElement-8-extension_MappedDataType"> |
| <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_Data-ReferenceModelProfile-packagedElement-8-extension_MappedDataType" name="extension_MappedDataType" visibility="private" type="_Data-ReferenceModelProfile-MappedDataType" aggregation="composite" association="_Data-ReferenceModelProfile-packagedElement-8"> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Data-ReferenceModelProfile-packagedElement-8-extension_MappedDataType-lowerValue"/> |
| </ownedEnd> |
| </packagedElement> |
| <profileApplication xmi:id="_sMZ7QJMHEeWTr5CKcL0jtg"> |
| <eAnnotations xmi:id="_sMZ7QZMHEeWTr5CKcL0jtg" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/> |
| </eAnnotations> |
| <appliedProfile href="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/> |
| </profileApplication> |
| </uml:Profile> |
| <Ecore:EPackage xmi:id="_tZ8FYJMHEeWTr5CKcL0jtg" base_Package="_Data-ReferenceModelProfile" packageName="refmodel" nsPrefix="refmodel" nsURI="http://www.omg.org/spec/AML/20150501/ReferenceModelProfile.xmi" basePackage="org.eclipse.mdht.uml.aml" prefix="RefModel"/> |
| </xmi:XMI> |