|
Re: return arraylist in operation [message #1578745 is a reply to message #1578632] |
Thu, 22 January 2015 15:40 |
|
Hi,
welcome to papyrus and EMF!
I'm not sure, what's exactly context of your problem, but the UML in general (and papyrus diagrams) handle return values as a parameter which is specified as return type. The multiplicity of such parameter can be configured by the upperBound property.
|
|
|
|
|
Re: return arraylist in operation [message #1579056 is a reply to message #1579037] |
Thu, 22 January 2015 19:37 |
|
As already mentioned, you have to set the values for the return parameter. So you can add an Owned Parameter with Direction=return and Multiplicity=0..*. As Type you can select any Type in your model, e.g. a class containing your data.
It is also possible to apply the UML standard profile to UML models, which provides you some standard data types like Integer, String and Boolean.
Does this address your question?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05550 seconds