|
Re: Method parameters contain return type [message #478029 is a reply to message #478027] |
Wed, 26 November 2008 14:13 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Alex,
UML models the operation return result as a "parameter" of
direction-kind "return." You will have to skip ower it when iterating
the owned parameters list. The getReturnResult() method gives you the
return parameter for that purpose, if the operation has one.
HTH,
Christian
Alex wrote:
> Hi
>
> Is there a bug in the method Operation.getOwnedParameters() ?
> This method returns an EList with all the parameters but in this list is
> also the return type of the operation included with name set to null ...
> this thing really made me crazy quite a lot ^ ^
>
|
|
|
Re: Method parameters contain return type [message #627246 is a reply to message #478027] |
Wed, 26 November 2008 14:13 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Alex,
UML models the operation return result as a "parameter" of
direction-kind "return." You will have to skip ower it when iterating
the owned parameters list. The getReturnResult() method gives you the
return parameter for that purpose, if the operation has one.
HTH,
Christian
Alex wrote:
> Hi
>
> Is there a bug in the method Operation.getOwnedParameters() ?
> This method returns an EList with all the parameters but in this list is
> also the return type of the operation included with name set to null ...
> this thing really made me crazy quite a lot ^ ^
>
|
|
|
Powered by
FUDForum. Page generated in 0.02676 seconds