Array types have extra * (#339)

If I create an attribute of type Whatever[] it is displayed as Whatever[*].

Created
21 January 2014 14:32:07
Closed
2 July 2014 9:31:02
Requested by
Neutrino
State
Rejected
Version
6.7 (64 bit)
OperatingSystem
Win 7
Solved in
Unsolved

Neutrino 21 January 2014 14:35:49

Your comment system is making it impossible to provide feedback again as it has eaten all my square brackets. And the fact that there is no preview does not help.

I'm trying to point out that creating an attribute of type Whatever(opensquarebracket)(closesquarebracket) replaces it with Whatever(opensquarebracket)*(closesquarebracket)

It also adds space between the Whatever and the array specifier which is should not since the array specifier is directly associated with the type.

Dusan Rodina - softwareideas.net 21 January 2014 17:02:48

It's ok, I see also the original message. I will fix the message and also the reason of this problem. I will add the preview.

Program automatically adds * (there are alternative notations: 0..* and 1..*), because arrays should be modelled this way according UML specification - i. e. using attribute multiplicity.

I think it's correctly now, but we can discuss it yet.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]