Book a Demo

Author Topic: MDA Transform PIM to PSM: Initial Code  (Read 3594 times)

WhiteWinter

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
MDA Transform PIM to PSM: Initial Code
« on: April 07, 2014, 08:48:38 pm »
He guys,
the transform of the PIM to PSM overrides the 'Initial Code' of already existing class operations in the PSM .

Is there a way to keep the 'Initial Code' in the PSM, during the MDA transform?

WhiteWinter

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: MDA Transform PIM to PSM: Initial Code
« Reply #1 on: April 11, 2014, 03:19:46 am »
Maybe I should explain what i want to do.

There should be a Plattform Independet Model PIM.
In the PIM I define the objects, their releationships and
declare important operation (with empty 'Initial Code').

Now we generate a Plattform Specify Model PSM (e.g C++ specific) from the PSM with the MDA transformation.
In the PSM I extend the objects with language specific attributes and operations.
I also want define the behavior of the declared operations from the PIM by write language specific code in the 'Initial Code' text box.

The whole process should be iterative.
But I have the problem that the MDA transformation override the content of the 'Initial Code' text box in the PIM.

Do i use the MDA wrong or can i use this iterative process by do some magic?

I am grateful for any hint!


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDA Transform PIM to PSM: Initial Code
« Reply #2 on: April 11, 2014, 04:38:52 am »
It's a long time since I used transformation, but basically you can modify the transformation templates so they comply to your requirements. See Tools/MDA...

q.