Book a Demo

Author Topic: Doc Gen Requirements Realized by Embedded Elements  (Read 4984 times)

StevePinfold

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Doc Gen Requirements Realized by Embedded Elements
« on: December 18, 2012, 07:52:23 pm »
Hi

I am trying to get the document generator to print requirements (responsibilities) that are mapped to embedded elements of a component diagram.

I can print my requirements for normal components using the responsibilities table

external requirements >
Column 1: {ElemExtRequirement.Name}
Column 2: {ElemExtRequirement.Notes}
< external requirements

And I can get the Embedded elements table to display the requirements identifier (name) using the realizes field in with the following table

embedded elements >
Column 1 :  {EmbeddedElement.Type} {EmbeddedElement.Name}
Column 2 :  {EmbeddedElement.Realizes}
Column 3 :  {EmbeddedElement.Notes}
< embedded elements

But i can not get it to print the requirement text for the embedded elements.

Can anybody please help.

Thanks

Steve

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Doc Gen Requirements Realized by Embedded Elem
« Reply #1 on: December 19, 2012, 01:37:16 am »
You may have run into the same problem I had when I wanted to recursively output child requirements in a different format to other requirements, the answer from Sparx was:

With the Child Elements Section - this is normally set as un-populated - in this mode the Package::Element section is used to report it and there is recursive run of the hierarchy.
 
However if the Child Element section is populated the reporting is only for the current level.

StevePinfold

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Doc Gen Requirements Realized by Embedded Elem
« Reply #2 on: December 19, 2012, 07:47:11 pm »
Thanks for the reply.

I have my child element empty section empty.

child element >
< child element

and I can get composite diagram to print out, but still no requirements.

Steve

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Doc Gen Requirements Realized by Embedded Elem
« Reply #3 on: December 29, 2012, 01:17:32 am »
I suspect that the embedded element tag pair will work in the same way as the child element tag pair.

Have you had a look at the template fragments in v10?  I have just used it to output requirements below the requirements that have a dependency on them.