jasonvan / prexel

1 stars 2 forks source link

Develop XMIAdaptor code #14

Closed jasonvan closed 6 years ago

jasonvan commented 6 years ago

https://github.com/jasonvan/prexel/blob/master/xml/adaptor.py - This class is responsible for the conversion of a Diagram object into XMI

jasonvan commented 6 years ago

See current commit of XMIAdaptor class (test class here). This class is responsible for generating a XMI fragment from a Diagram object. A Diagram is a model that is used throughout the plugin to transmit data about a PREXEL diagram.

XMIAdaptor is not complete as more methods are needed to properly generate the XML tags required for basic XMI documents. Currently, enough methods exist to generate an XMI document that models a class with method and fields. Adding inheritance and aggregation is the next step.

jasonvan commented 6 years ago

Code from #32 was merged into master. This code is responsible for generating XML nodes for XMI tags. This will be used by other classes in the XML module to generate XMI fragments from Diagram objects

jasonvan commented 6 years ago

Commit made that adds XMI generation for basic class and inheritance diagrams

https://github.com/jasonvan/prexel/commit/5a1c08fe286ea589a976041aea110e35f054049f

jasonvan commented 6 years ago

Commit made that adds aggregation including multiplicity

https://github.com/jasonvan/prexel/commit/ad40eee0ecd73c1be9e0f44722fc8378000f651f

jasonvan commented 6 years ago

Work completed in this PR #37