Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » How can I retrieve tagged references from stereotyped UML model elements?(give me advice -I have solved this problem )
icon7.gif  How can I retrieve tagged references from stereotyped UML model elements? [message #1043913] Thu, 18 April 2013 05:00 Go to next message
yesheng chai is currently offline yesheng chai
Messages: 64
Registered: March 2013
Member
Hello ,
I know how to retrieve tagged values from stereotyped UML model elements by the fuction getValue(stereotype : Stereotype, propertyName : String) and getAppliedStereotype(sterotypeName : String).
But I don not how to retrieve tagged references from stereotyped UML model elements .
Who can tell me the corresponding fuctions ?
Thank you !

[Updated on: Thu, 18 April 2013 08:19]

Report message to a moderator

Re: How can I retrieve tagged references from stereotyped UML model elements? [message #1043949 is a reply to message #1043913] Thu, 18 April 2013 05:56 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 588
Registered: July 2009
Senior Member
Hello,

I guess this post could help you as treating a problem that seems quite similar to yours.

Best regards,

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Re: How can I retrieve tagged references from stereotyped UML model elements? [message #1044008 is a reply to message #1043949] Thu, 18 April 2013 07:32 Go to previous messageGo to next message
yesheng chai is currently offline yesheng chai
Messages: 64
Registered: March 2013
Member
Thank you for your reply!
I want to get the element corresponding to tagged references from stereotyped UML model elements .
The fuction is ?
Thank you !
Re: How can I retrieve tagged references from stereotyped UML model elements? [message #1044042 is a reply to message #1044008] Thu, 18 April 2013 08:21 Go to previous message
yesheng chai is currently offline yesheng chai
Messages: 64
Registered: March 2013
Member
s.getStereotypeApplication(s.getAppliedStereotypes().first()).host.base_Classifier.debug('xx');
It is vey usefull. Very Happy
Previous Topic:No one knows how to solve this problem ?
Next Topic:Lazy rule
Goto Forum:
  


Current Time: Sun Apr 20 15:47:55 EDT 2014

Powered by FUDForum. Page generated in 0.06407 seconds