BESSER icon indicating copy to clipboard operation
BESSER copied to clipboard

How I can specify cardinalities at property level ?

Open EmidioStani opened this issue 9 months ago • 4 comments

Is your feature request related to a problem?

I am used to create UML class diagrams by specifying cardinalities for properties and relations.

Describe the solution you'd like

In the dialog of the property be able to set min and max cardinality

EmidioStani avatar Mar 20 '25 10:03 EmidioStani

Is there a difference between cardinality and the used in WME term multiplicity? In menu Help > How to use this editor? is mentioned: Define multiplicity using the following format: 1, 0..1, 0.., 1.., 2..4, etc. (Default is 1).

gp2000 avatar Mar 22 '25 10:03 gp2000

@EmidioStani, in BESSER, it's possible to set the cardinality of a property directly in the model code. But, as you mentioned, this is not yet supported in the graphical editor. We will address this limitation.

@gp2000, in software modeling, the terms cardinality and multiplicity are often used interchangeably.

ivan-alfonso avatar Mar 24 '25 11:03 ivan-alfonso

I see, the question is about multiplicity in property, not in association

gp2000 avatar Mar 24 '25 13:03 gp2000

For now, the alternative is to model properties with cardinality > 1 as associations between the class and the data type (as if the data type was another class)

jcabot avatar Mar 25 '25 10:03 jcabot