Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - EAUser

Pages: [1]
1
General Board / Re: Def Search for elements linked to another elem
« on: June 25, 2014, 08:46:55 pm »
Thank you Geert, that helps!

Concerning the code, turns out it was just some brackets that were missing around the 'and' statements...

2
General Board / Re: Def Search for elements linked to another elem
« on: June 24, 2014, 05:50:56 pm »
I think I have an idea about what this code is about, except for this part:
Code: [Select]
inner join t_package as package on c.package_id = package.package_id)
left join t_package as package_p1 on package_p1.package_id = package.parent_id)
left join t_package as package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package as package_p3 on package_p3.package_id = package_p2.parent_id)
could you help me out explaining what this is for?

I have tried to expand the script in order to only search for requirements linked to the search term object and at the same time linked to a category object cat.

This gives me an error which I am unable to determine, does anybody know what I would have to change?

Code: [Select]
select c.ea_guid as CLASSGUID,c.object_type as CLASSTYPE,c.name as Name, c.stereotype as Stereotype ,con.Connector_Type,con2.Connector_Type,
package.name as PackageName ,package_p1.name as PackageLevel1,package_p2.name as PackageLevel2,
package_p3.name as PackageLevel3
from ((((((((t_object c
inner join t_connector con on con.End_Object_ID = c.Object_ID)
inner join t_object so on con.Start_Object_ID = so.Object_ID)
inner join t_connector con2 on con2.End_Object_ID = c.Object_ID)
inner join t_object cat on con2.Start_Object_ID = cat.Object_ID)
inner join t_package as package on c.package_id = package.package_id)
left join t_package as package_p1 on package_p1.package_id = package.parent_id)
left join t_package as package_p2 on package_p2.package_id = package_p1.parent_id)
left join t_package as package_p3 on package_p3.package_id = package_p2.parent_id)
where so.Name like '<Search Term>'
and con.Connector_Type in ('Dependency')
and con2.Connector_Type in ('Realization','Realisation')
and cat.Name like 'Category YY'

Furthermore, how can I specify to restrict the search only on requirements, at best only requirements of the type 'functional' ?

3
General Board / Re: Def Search for elements linked to another elem
« on: June 24, 2014, 04:57:43 pm »
Wow, this is great, works like a charm.

thank you, this has been a great help!

4
General Board / Def Search for elements linked to another elements
« on: June 23, 2014, 09:20:21 pm »
Dear EA community,

Is it possible to define a search for all elements that are linked to a specific Element I specify? In my search, I would like to further specify the type of link, i.e. find all elements linked via a 'Dependency' or a 'Realization'-Link. Which properties in the search do I need to use for that?

Thank you for your help!

5
General Board / Apply Filter automatically when opening diagram
« on: June 23, 2014, 06:14:00 pm »
Dear EA-community,

In a first EA-Project, I am modelling several use cases linked to high-level use cases. Depending on which high-level use cases are looked at, other use cases are more or less important.
I would like to model these use cases in the same diagram with other use cases highlighted depending on the high-level use cases looked at. I am currently realizing that by adding keywords to the use cases and installing diagram filters to highlight the use cases which contain a certain keyword property.
So far, this works pretty well. But when I include this diagram as composite diagram in the high-level use cases, it would be great if a diagram filter would be applied automatically depending upon the high-level use case we came from.
Is that possible? Or is there any smarter way to realize this construct?

Thank you for your help!

6
General Board / Re: Can Elements appear more than once in the Brow
« on: June 23, 2014, 06:00:15 pm »
That looks quite promising. I'll look into that, thank you!

7
General Board / Can Elements appear more than once in the Browser
« on: June 23, 2014, 05:55:01 pm »
Dear EA-community,

For a first project in EA, I am currently modelling a Use case scenario as a tree stucture in the Project Browser. Each branch of this tree is filled with Diagrams and the associated elements in this diagram.
My problem at this time is that a use case element can appear more than once in a diagram. While it is possible to list them in all diagrams as link, these elements seem to be able to exist in only one branch in the Project browser. Is there any way around this?

Any help here would be appreciated!

Pages: [1]