1
Suggestions and Requests / Operation usage
« on: August 12, 2005, 12:42:37 am »
Although I know it is not a new request I would like to start a new topic on operation usage because it is an important feature. In nowadays complex systems one should be able to find out where a particular operation is used. I created a simple query to simulate operation usage. With the following SQL you can find out in which sequence diagrams a particular operation is called and which object is calling the operation.
This solution is rather 'quick and dirty' but instead of writing something decent myself by means of the automation interface, I would like to see this kind of feature in EA.
Besides I think it would also be useful to check in which operations a particular object is used (as return type or parameter). At first sight the relationship matrix seems suited for representing the results of both of these usages. Any feedback is appreciated.
Code: [Select]
SELECT t_connector.Connector_ID, t_connector.Name, t_diagram.Package_ID, t_package.Name, t_connector.DiagramID, t_diagram.Name, t_connector.Start_Object_ID, t_object.Name
FROM t_object INNER JOIN (t_package INNER JOIN (t_connector INNER JOIN t_diagram ON t_connector.DiagramID = t_diagram.Diagram_ID) ON t_package.Package_ID = t_diagram.Package_ID) ON t_object.Object_ID = t_connector.Start_Object_ID
WHERE (((UCase([t_connector].[Name])) Like UCase([OperationName] & "*")) AND ((t_connector.Connector_Type)="Sequence"));
This solution is rather 'quick and dirty' but instead of writing something decent myself by means of the automation interface, I would like to see this kind of feature in EA.
Besides I think it would also be useful to check in which operations a particular object is used (as return type or parameter). At first sight the relationship matrix seems suited for representing the results of both of these usages. Any feedback is appreciated.