Book a Demo

Author Topic: Operations Linking instead of having Copy  (Read 4360 times)

ALL_IN_ONE

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Operations Linking instead of having Copy
« on: June 03, 2010, 03:45:23 pm »
Dear all,

I am facing with a link issue for the operations. Refer the below diagram. I am doing modelling for different components which are a part of the same project. Lets consider the below example of Component 1 and Component 2. Component 1 uses or rather calls two functions of Component 2. Hence when I am modelling the required interfaces of Component 1 then only the two called functions from Component 2 should be linked to the interface
"Comp2--->Comp1_Required". But I am not able to link the below functions marked in red to the interface "Comp2--->Comp1_Required". If i drag those operatios below this then it will vanish from its current location. If I drag on the diagram object then it will create a copy. Hence I am looking for a link.

Is there any way to link these operations?

Or

does anybody has any other solution to it.



Regards,
All_In_One

ALL_IN_ONE

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Operations Linking instead of having Copy
« Reply #1 on: June 03, 2010, 03:53:16 pm »
i am sorry i do not have any source to upload picture from my company intranet. The upload images websites are blocked.

Will try to upload later.

Regards,
All_In_One

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Operations Linking instead of having Copy
« Reply #2 on: June 03, 2010, 03:57:32 pm »
All_In_One,

Something must have gone wrong, because I don't see your image.
Anyway, if comp2 has a provided interface (interface2) then the required interface of comp1 should use this interface.
AFAIK it is not possible to specify which operations exactly you need from interface2. I guess that is somewhat too granular for this type of diagrams.
Typically component diagrams express the depencencies between components and their exposed interfaces. That fact that you only use two operations on that interface doesn't really matter in terms of dependencies.

If you really want to express this then you could always create an interface2_1 that only exposes these two operations, and use that in the required interface of comp1. If you make interface2_1 a parent of interface1 then you don't need to define the operations twice.

Geert

ALL_IN_ONE

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Operations Linking instead of having Copy
« Reply #3 on: June 11, 2010, 05:22:40 pm »
finally I have the picture . . . .

Can any body tell me whether I can have operations link from one element to another. Refer my first post also.

The pciture can be found in the below link
http://picasaweb.google.com/dashin.darshan/EnterpriseArchitectSnapshots?feat=directlink#5481411177790212466

Regards,
ALL_IN_ONE

ALL_IN_ONE

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Operations Linking instead of having Copy
« Reply #4 on: June 11, 2010, 08:09:14 pm »
hello  all,

Can anybody shed some light to this issue?

Regards,
ALL_IN_ONE

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Operations Linking instead of having Copy
« Reply #5 on: June 11, 2010, 08:43:55 pm »
You could use the "link to element feature" to create a direct link between an operation and another element (or feature of that element)

Geert