How to define attribute (in class diagram)as an array of four elements using Papyrus
as a modelling environment?
Does that possible in Papyrus?
Here is the class:
How to define attribute (in class diagram)as an array of four elements using Papyrus
as a modelling environment?
Here is the class:
I haven't used Papyrus specifically but you have a field called Multiplicity on the right. Change it to 4
if your array has to always have exactly 4 elements or 0..4
if it can have at most 4 elements.
It is much, much more easy.
If these elements belong ONLY here, use composition - filled diamond. If they can exist by themselves, use Aggregation - empty diamond.