|
|
|
|
|
|
Re: Missing functions Activity diagrams in Eclipse SysML1.4 [message #1838956 is a reply to message #1838937] |
Wed, 10 March 2021 12:56 |
|
Hi jb tw,
on your second topic:
the problem in that case is, that the SysML 1.4 specification is a mess in that point.
If you take a look at Figure 11.8 you will see <<Optional>> is a Stereotype only applicable to Parameter. You tried to apply the <<Optional>> Stereotype on a ActivityParameterNode, not on a Parameter.
In the cited diagrams a Parameter is shown within an ActivityParameterNode element. Despite that would be a nice feature, this is not covered by the SysML syntax.
Nevertheless, applying the <<Optional>> stereotype on a Parameter is fully supported by Papyrus. If you create a Parameter within the ActivityParameterNode, you can apply the <<Optional>> Stereotype on that Parameter. But you cannot show that Parameter on a diagram. BTW, this is not required by the SysML specification either.
On the other hand, in Table 1.11 item Optional the SysML specification shows an <<optional>> decoration next to an ActivityParameterNode. In this case "optional" is written with the first character in lower case, whereas in Figure 11.8 and in the machine readable XMI file "optional" starts with a capital letter.
But what should that <<optional>> decoration next to an ActivityParameterNode express? An ActivityParameterNode may contain several Parameter elements, some of them maybe optional. The ActivityParameterNode itself is never optional.
BTW, I consider the SysML specification to be a big mess, not only in that very case ;-)
/pica
[Updated on: Wed, 10 March 2021 13:27] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04330 seconds