|
|
Re: setValue on reference tag values of stereotyped elements [message #1015835 is a reply to message #1015824] |
Sun, 03 March 2013 08:57  |
Eclipse User |
|
|
|
Hi
getStereotypeApplications() is not an OCL method.
It is part of the (non-standard) added-value of the MDT/UML2 UML model
support.
Regards
Ed Willink
On 03/03/2013 09:26, Alessandro Ranieri wrote:
>
> I resolved my problem, and I want to post the solution also for return
> back some of the help the forumers have given to me.
>
> The third argument of the setValue must refere to the
> StereotypeApplication of the element and not to the element itself,
> and OCL provide a simple method to retrieve this:
> getStereotypeApplications()
>
> So, basically, we need to query the element which we wanto to refere
> with the "covers" association and to call the above ocl method.
>
> I hope this could help someone.
>
> Alessandro Ranieri
|
|
|
Powered by
FUDForum. Page generated in 0.03269 seconds