Would like to relate an application screen field with its underlying database column(s) and then create a create a report that, given a database column, displays all application's screen/fields that are associated. I am thinking this cannot be done, but wanted to see if anyone has any solutions. This is what I tried...
- I have the screen defined using interface models/GUI Elements.
- I have the database defined by creating a data model via "Import DB schema via ODBC..." function.
- It is the association of the GUI control with the table/column that I am having trouble.
I tried using the "Link to Element Feature"...
On my user interface diagram, I dragged a link to the database table and then created an association (realization) between the GUI Control and the database table. I then used the "Link to Element Feature" to associate the link to the actual table column (attribute). This is great for a visual representation on the diagram, but as the EA documentation clearly states, the actual association is still between the GUI control and the table (not the column). Thus the data model RTF template now includes all of the GUI associations under the "Relationships" grid for the table. This would be OK, in fact, desired, if the report could display the "linked" column (attribute) in addition to the table, but I do not see a way to do this. Assuming I cannot use the data model template to display the GUI to Table column association, I would like to filter out the GUI control association so that the Relationships grid only shows schema table associations. I cannot see how to do that either. So I am stuck.
For me the perfect scenario would be that the data model RTF template could still be used but instead of one Relationship grid, there would be two (so that one can define a different format depending upon the type of link). One would basically be the one that currently exist, that is, it displays the relationships between the tables (this would require some type of filter that would only include class associations whose stereotype = table). The other grid would show relationships between the table's columns and any associated GUI Controls (this would require some type of filter that would only include associations where one side is a GUI Control, plus the capability to display the actual associated table columns).
As it is now, not sure if it is worth providing just a visual association using the "Link to Element Feature" between the GUI element and the table column, if I cannot report on it or create queries to trace the use of a table/column within the user interface.
Any ideas?
Karl