Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Christopher_Wells on April 11, 2005, 07:18:55 am
-
The 'Set Element Classifier' dialog should have a 'Array' checkbox.
If for example I create a class named Foo, then this checkbox should allow me to classify an object as being of type 'Foo' and/or of type Foo[]'.
-
Even when the 'Return Array' checkbox is checked in the definition of a method, when the method is used in a sequence diagram the fact that the method returns an array appears to be ignored: for example, if I define that myMethod returns Foo and check the 'Return Array' checkbox, currently when I invoke this method on a sequence diagram the method displays as "Foo = myMethod" whereas instead I think it should display as Foo[] = myMethod".
-
EA/UML Newbie here.
I am not interested in code generation.
I am interested purely in the meaning of "Return Array" check-box in the Operations properties for a class/interface.
Question: Does checking this check-box mean that the actual return type is some sort of collection of the type specified in field "Return Type"?
Concern:
When I check this check-box, the class/interface diagram shows what appears to be Array notation rather than the multiplicity thing that I would really like.
Concern:
In UML, there appears to be no properties notation for the return type when modeling an operation (whereas the operation allows properties notation for the parameters and the operation itself). Why do I yearn for properties notation on the return type? I would like to use order and unique to say something about the collection being returned.
Thanks in advance to any who have made it this far.
Sincerely,
Jon Savell