How to define an attribute (in a class diagram) as an array of four elements?

How to define an attribute (in the class diagram) as an array of four elements using Papyrus as a modeling environment?

Is it possible in Papyrus?

Here is the class:

enter image description here

How to edit attribute properties in the following property view to represent an array of four elements?

enter image description here

+4
source share
1 answer

It is much simpler.

enter image description here

If these items belong ONLY here, use a diamond filled with the composition. If they can exist on their own, use Aggregation - an empty diamond.

0
source

Source: https://habr.com/ru/post/1495616/


All Articles