Book a Demo

Author Topic: Producing Report of Trace between attributes  (Read 6856 times)

GOUK

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Producing Report of Trace between attributes
« on: November 09, 2011, 04:03:52 am »
Hi,

I am looking at mapping attributes of Classes from 2 systems.  I have both Classes and their attributes in EA.

I have created a trace between 2 attributes via the 'Link to Element Feature' no problem....then I've been trying to get a Relationship Matrix to report on this (at the attribute level), then tried using the RTF generator to no avail.   Basically I want to view;
Class1.Att1 traces to Class2.Att1

I'm pretty new to EA and haven't used these features much.

Is there a simple solution?  Should I use something other than trace?

Best regards,
GOUK.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #1 on: November 09, 2011, 08:55:23 am »
My understanding is that linking a connector to an element feature only acts as a visual aid on the diagram.  The relationship itself is still only defined between the two classes.

GOUK

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #2 on: November 09, 2011, 07:25:57 pm »
Aaron,
Many thanks for the response.  

This info has to be held within EA for it to produce the diagram, but from what you've said (and myself going through the reporting options) that the tool doesn't surface this, apart from when displaying diagrams.

Are there any other options?  A few guys on this forum have written some very good VB scripts to import information into EA...I wonder if extract of this information is possible?

Thanks again.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #3 on: November 10, 2011, 08:57:17 am »
Quote
Are there any other options?  A few guys on this forum have written some very good VB scripts to import information into EA...I wonder if extract of this information is possible?
You will need to access the database directly. If you look in the t_connector table, StyleEx column, you should be able to work out how the information is encoded in the LFSP and LFEP values. The GUIDs will map to t_attribute.ea_guid or t_operation.ea_guid.
« Last Edit: November 10, 2011, 08:57:44 am by KP »
The Sparx Team
[email protected]

GOUK

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #4 on: November 10, 2011, 07:37:27 pm »
Many thanks - will have a look.

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #5 on: November 10, 2011, 08:39:33 pm »
Hi

A report on linked features is possible using the RTF generator in version 9.1.910

Below is a simple RTF template to illustrate this

[highlight]package >[/highlight]{Pkg.Name}
[highlight]diagram >[/highlight]
{Diagram.DiagramImg}
[highlight]< diagram[/highlight]
[highlight]element >[/highlight]
{Element.Name}


[highlight]connector >
source >
linked feature >[/highlight]
{LinkedSourceFeature.Name}
[highlight]< linked feature[/highlight]

Links to :

[highlight]< source
target >
linked feature >[/highlight]
{LinkedTargetFeature.Name}
[highlight]< linked feature
< target

< connector[/highlight]
[highlight]child elements >
< child elements
< element

child packages >
< child packages
< package[/highlight]

Cheers

Phil
Models are great!
Correct models are even greater!

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #6 on: November 10, 2011, 09:44:47 pm »
Awesome! I didn't know this new reporting feature!

Excellent for detailed traceability...

GOUK

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Producing Report of Trace between attributes
« Reply #7 on: November 11, 2011, 04:48:03 am »
Phil,

That is great and does exactly what I wanted.

Many thanks.