Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Due at Thursday, January 21th, 23:59 |
---|
https://svn.iai.uni-bonn.de/repos/IAI_Software/se/atsc2009ws/samplesolutions/
Project: A10T25_26_Model_Transformation_Solution
6 points |
---|
Check out the project A10T25_26_Model_Transformation from your SVN repository.
Your task is to partly transform a PIM model src/model/HotelDomain2) to an EJB3-based PSM, see the profile in src/model/ejb3.umlprofile. We will use a slightly modified variant which contains the plug-in point CreditCardInstitute. Your starting point is the src/m2m/archetypesToejb3.ext extension file.
Your mapping should include the following:
The following extensions are helpful for the task:
General hints:
4 points |
---|
Generate Java classes for your model. Concentrate on the classes, annotations, properties and associations. You might omit the generation of methods. The extension getAssociatedClasses(Class) is - again - helpful here.
Use template/JavaSource.xpt as starting point.