Book a Demo

Author Topic: Interfaces and Ports in SysML  (Read 4668 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Interfaces and Ports in SysML
« on: April 20, 2012, 05:10:24 pm »
Hi,

I set up in my BDD my main block with a number of ports and provided/required interfaces selected from a separate model that contains all interfaces.

This follows well SysML specs, but I face an issue as far as the tool is concerned when using sequence diagrams.
If I create an instance of the block on a sequence diagram, operations aren't available since they're defined in the interface provided by port.
I displayed the embedded elements (Port + Interface) but
1. it doesn't render things properly (3 lifelines under the block!)
2. I'd rather have all operations available directly from my block

I therefore have to manually realise each interface from my block which isn't ideal.
Has anyone experienced this and could suggest an alternative?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Interfaces and Ports in SysML
« Reply #1 on: April 25, 2012, 10:08:59 pm »
I seem to have found a possible solution to this but it would require a change in EA :

- instead of modelling my exposed interfaces on a port via the Embedded Elements menu (Add Required/Provided interface), I create a realization or use association from my port to each interface
- to show the provided/required interfaces on each port on my BDD & IBD, I would need EA to provide the same Embed. Elements options that are shown for a UML component on a UML Port i.e. Embedded Elements : Show Realized Interfaces & Show Provided Interfaces
>> this way all interfaces operations will be available directly from a block that's been instanciated on a sequence diagram !

I successfuly tested it on both a BDD and IBD

what do you think? I'm planning to send it as a feature request
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com