/
AAI Information Model Analysis of XMI File Format
AAI Information Model Analysis of XMI File Format
- Keong Lim
Owned by Keong Lim
Reference
Files attached to 2019-08-05 AAI Information Model Reverse Engineering
Analysis
Example 1 UML Association
Class Kennel
<packagedElement xmi:type="uml:Package" xmi:id="_rBN-QLIqEemXwfLFUQ7Icw" name="ObjectClasses">
<packagedElement xmi:type="uml:Class" xmi:id="_PTSCILIrEemXwfLFUQ7Icw" name="Kennel">
<ownedComment xmi:type="uml:Comment" xmi:id="_WG15QLIuEemXwfLFUQ7Icw" annotatedElement="_PTSCILIrEemXwfLFUQ7Icw">
<body>A small shelter for a dog.</body>
</ownedComment>
</packagedElement>
</packagedElement>
Class Dog
<packagedElement xmi:type="uml:Package" xmi:id="_rBN-QLIqEemXwfLFUQ7Icw" name="ObjectClasses">
<packagedElement xmi:type="uml:Class" xmi:id="_B32XwLIrEemXwfLFUQ7Icw" name="Dog">
<generalization xmi:type="uml:Generalization" xmi:id="_G8gkcLIrEemXwfLFUQ7Icw" general="_wBrncLIqEemXwfLFUQ7Icw"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="_DszRwLIsEemXwfLFUQ7Icw" name="Owner">
<ownedComment xmi:type="uml:Comment" xmi:id="_3_edELItEemXwfLFUQ7Icw" annotatedElement="_DszRwLIsEemXwfLFUQ7Icw">
<body>The owner of the doc.</body>
</ownedComment>
<type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_P-V74LIsEemXwfLFUQ7Icw"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_P-bbcLIsEemXwfLFUQ7Icw" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="_haqBwLIsEemXwfLFUQ7Icw" name="toy" type="_d6RrQLIsEemXwfLFUQ7Icw" aggregation="composite" association="_hamXYLIsEemXwfLFUQ7Icw">
<ownedComment xmi:type="uml:Comment" xmi:id="_xj8N8LI2EemXwfLFUQ7Icw" annotatedElement="_haqBwLIsEemXwfLFUQ7Icw">
<body>Toys presently in the dog's possession.</body>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_pRCIILIsEemXwfLFUQ7Icw"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_pReNALIsEemXwfLFUQ7Icw" value="*"/>
</ownedAttribute>
</packagedElement>
</packagedElement>
Association DogSleepsInKennel
<packagedElement xmi:type="uml:Package" xmi:id="_dl4P8LIpEemXwfLFUQ7Icw" name="Associations">
<packagedElement xmi:type="uml:Association" xmi:id="_xMdtoLIsEemXwfLFUQ7Icw" name="DogSleepsInKennel" memberEnd="_xMe7wLIsEemXwfLFUQ7Icw _xMe7wbIsEemXwfLFUQ7Icw">
<eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_xMeUsLIsEemXwfLFUQ7Icw" source="org.eclipse.papyrus">
<details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xMeUsbIsEemXwfLFUQ7Icw" key="nature" value="UML_Nature"/>
</eAnnotations>
<ownedEnd xmi:type="uml:Property" xmi:id="_xMe7wLIsEemXwfLFUQ7Icw" name="kennel" type="_PTSCILIrEemXwfLFUQ7Icw" association="_xMdtoLIsEemXwfLFUQ7Icw">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_5n1-gLIsEemXwfLFUQ7Icw"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_5oOZALIsEemXwfLFUQ7Icw" value="*"/>
</ownedEnd>
<ownedEnd xmi:type="uml:Property" xmi:id="_xMe7wbIsEemXwfLFUQ7Icw" name="dog" type="_B32XwLIrEemXwfLFUQ7Icw" association="_xMdtoLIsEemXwfLFUQ7Icw">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6yudQLIsEemXwfLFUQ7Icw"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6zIF4LIsEemXwfLFUQ7Icw" value="*"/>
</ownedEnd>
</packagedElement>
</packagedElement>
Example 2 UML Composition
Class Dog
Class Toy
Composition DogHasToy
Example 3 Aggregation
Class Cat
Class Mouse
Aggregation CatPlaysWithMouse
Example 4 Generalization
tbc