Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] [Dev] QVTi UML2RDBMS working example

Hi

The purpose of this example is to push the transformation language, not to gain deep insight into obscure UML/RDBMS equivalences, so I think this counts as done, at least until I review it and CG it.

    Regards

        Ed

On 07/08/2013 15:55, Horacio Hoyos Rodriguez wrote:

Hi all,

 

In the hhr/complexAttributes branch (qvtd git on eclipse) you can find the QVTiEvaluationVistor that works with the UML2RDBMS example.

 

Some tweaks of the transformation (ClassToRDBMSSchedule.qvti) where done in order to, in my opinion, correctly transform UML to RDBMS based on my understanding of the QVTc example in the QVT specification.

 

There is an issue, at least as I see it now regarding classes with complex attributes. If Class A has a complex attribute b of Type B, and Class B, then the table for A must have 1 column for each of the attributes of class B. If B has a complex attribute c of Type C, then A should also have 1 column for each of the attributes of class C, and so on and so forth.  

 

Currently the ComplexAttributeComplexAttributes mapping is called from mapping ClassToTableLM, and thus the required recursive dive through all the complex attributes is not correctly done. It would be simple to move the ComplexAttributeComplexAttributes to the PackageToSchema mapping and then visit all the attributes of all the classes to guarantee the full depth visit. However, the current analysis for identifying this special cases is not fully developed. Further research will help us understand this issues.

 

Regards,

 

 

Horacio Hoyos Rodríguez

EngD Student

University of York

 

http://www.york.ac.uk/docs/disclaimer/email.htm

 



_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3209/6557 - Release Date: 08/06/13



Back to the top