Book a Demo

Author Topic: Linking requirements from CIM to PSM (MDA)  (Read 3440 times)

Opstal_P

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Linking requirements from CIM to PSM (MDA)
« on: December 09, 2014, 08:20:12 pm »
I'm trying to transform my PIM to a PSM with requirements.

The basic idea is to add the requirements, which are in the CIM, to the PIM auto transform them to the PSM and then add them as comments to the code.
In the PIM I linked the requirements from my CIM to the relevant classes and added some test requirements embedded to a class.

When transforming the PIM to to a PSM the links to the requirements are lost. also the test requirements in the class are gone.

I have been working on the transformation templates I still don't get the syntax that well and cant find good explanation of what does what. (or just don't understand the sparx's explanation :P )

So far I have been able to list all embedded test requirements in a class. But now it makes loose requirements objects not bound to anything in the PSM.
What I want to do is to keep the realisation or trace (not sure which to use) links to the requirements, in the CIM, wich are made in the PIM to the PSM.

Has anyone a idea?
« Last Edit: December 09, 2014, 11:35:42 pm by PeterTANS »

Opstal_P

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Linking requirements from CIM to PSM (MDA)
« Reply #1 on: December 11, 2014, 06:59:47 pm »
What I basicly try to do is keep links from classes to elements/classes, that are in other models then the PIM, that are made in the PIM with the transformation to the PSM.

Has anyone a suggestion how that is possible with the transformation templates?

Example of what is happening
CIM
 -Requirement01
 -Requirement02
PIM
 -Clas1
  -link to Req01
  -link to Clas2
 -Clas2
  -link to Req02
  -link to Clas01
transform PIM to PSM
PSM
 -Clas1
  -no Link
  -link to Clas2
 -Clas2
  -no Link
  -link to Clas01