Book a Demo

Author Topic: Linking a requirement to an interface member funct  (Read 4194 times)

andrewd

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Linking a requirement to an interface member funct
« on: January 04, 2014, 02:09:04 am »
I can link requirements to an interface, but I would like to link to an individual member function in that interface.  Any advice?

andrewd

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linking a requirement to an interface member f
« Reply #1 on: January 04, 2014, 02:28:15 am »
I can expand the interface in the project view and drag the member function to the diagram and then create a "realize" relationship with the requirement, but I can not get the relationship to show up on the relationship matrix.  If I double click on the member function in the diagram it shows up as an element of type "action" but again, it doesn't show up on the matrix (even if I select all object types).

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Linking a requirement to an interface member f
« Reply #2 on: January 04, 2014, 03:14:50 am »
Hello,

you can link via operation behavior to an activity. This could also be visualized on a diagram.

Then you can draw the implementation relationship (in fact an realization) from activity to requirement.

With meaningful namingc onvention like interface.operationName you see it in the relationship diagrams.

The relation between operation and activity is maintained by EA.

Helmut

Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

andrewd

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linking a requirement to an interface member f
« Reply #3 on: January 10, 2014, 06:21:18 am »
I still have the problem where any relationships betwen an interface member function and a requirement will not show up in the relationship matrix.  As a workaround I created an "activity" object for each interface function (using the same name).  If I link that to a requirement it will show up on the relationship matrix.  This is a bad solution because I have two objects for each interface function in the model (the actual interface function and an "activity" object of the same name).

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Linking a requirement to an interface member f
« Reply #4 on: January 10, 2014, 06:41:00 am »
Hello Andrew,

make a feature request or live with this or another work around.

You can bind the function to the activity by:
  • Select function
  • Behavior, Element, select activity

Then you may write an addin/script to ensure that function name and activity name are according to your naming conventions.

Okay, I admit, it's only a workaround.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

andrewd

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linking a requirement to an interface member f
« Reply #5 on: January 10, 2014, 07:01:08 am »
OK, thanks.