Interfaces and Ports in SysML

483 views
Skip to first unread message

Guillaume

unread,
Apr 20, 2012, 3:10:00 AM4/20/12
to sparx-enterprise-archite...@googlegroups.com
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

[original message]

Guillaume

unread,
Apr 24, 2012, 8:08:00 PM4/24/12
to sparx-enterprise-archite...@googlegroups.com
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

[original message]
Reply all
Reply to author
Forward
0 new messages