Book a Demo

Author Topic: {unique} in SysML 1.4 Parts compartment  (Read 12465 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
{unique} in SysML 1.4 Parts compartment
« on: July 03, 2018, 08:07:51 pm »
Hi,

I use EA 13.5 + SysML 1.4. On a BDD, I can see the block's parts in the compartment  e.g. role1: BlockB [1] ({unique})
Is there any way to remove this unique info?

I noticed that it only appears when you enter  value e.g. a custom multiplicity e.g. 2 on the composition link to the block (instead of a selection from the drop down list).
The OMG specs show that {unique} for the references compartment only.

« Last Edit: July 03, 2018, 08:25:02 pm by Guillaume »
Guillaume

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


PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: {unique} in SysML 1.4 Parts compartment
« Reply #1 on: July 04, 2018, 01:46:37 am »
In V13 it is not shown.

To get rid of it in 13.5 you have to set "Allow Duplicates" to true in your SOURCE Role.
However if you do not want to allow duplicates, you probably have to stay with it.
Best regards,

Peter Heintz

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: {unique} in SysML 1.4 Parts compartment
« Reply #2 on: July 04, 2018, 03:20:33 pm »
Hi Peter,

Thank you for your reply. I tried it but the unique is still visible.
It's only when I select a multiplicity value from the drop down list on the Source Role that the "unique" disappears (I wonder if it's a bug)
Guillaume

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


PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: {unique} in SysML 1.4 Parts compartment
« Reply #3 on: July 04, 2018, 05:25:14 pm »
Maybe the behaviour is even different in different V13.5 build.
I assume it is somehow a kind of bug.
Best regards,

Peter Heintz

andykeaveney

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: {unique} in SysML 1.4 Parts compartment
« Reply #4 on: November 11, 2022, 08:49:32 pm »
Same problem here using EA 16. Pretty annoying. Not sure why it adds 'bag' to the multiplicity when you allow duplicates too. I am using the stock multiplicity options.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: {unique} in SysML 1.4 Parts compartment
« Reply #5 on: November 11, 2022, 09:47:12 pm »
Probably the bag is a keyword from UML  (p. 34 of UML 2.5) where it denotes unordered non-unique collections.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: {unique} in SysML 1.4 Parts compartment
« Reply #6 on: November 13, 2022, 04:54:26 pm »
Probably the bag is a keyword from UML  (p. 34 of UML 2.5) where it denotes unordered non-unique collections.

q.
Wot 'e sed!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!