Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Stereotype attribute using ATL(Stereotype attribute using ATL)
Stereotype attribute using ATL [message #1709092] Wed, 23 September 2015 21:37 Go to next message
Karishma Karishma is currently offline Karishma KarishmaFriend
Messages: 4
Registered: September 2015
Junior Member
Hey,

Could someone help me with the code for deriving the Stereotype Attributes name and properties.

Any help would be appreciated....
Re: Stereotype attribute using ATL [message #1709444 is a reply to message #1709092] Mon, 28 September 2015 13:00 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 351
Registered: September 2012
Location: Belgium
Senior Member

First, read: https://wiki.eclipse.org/ATL/Howtos#How_can_I_retrieve_tagged_values_from_stereotyped_UML_model_elements.3F

I assume you want to reflectively determine what tagged values exist for a given stereotype? For that, you'll have to use the Eclipse UML API: http://download.eclipse.org/modeling/mdt/uml2/javadoc/5.1.0/org/eclipse/uml2/uml/Stereotype.html
For example, you can invoke stereotype.getAllAttributes().


Cheers,
Dennis
Previous Topic:Assignment with different types
Next Topic:Atl transformation
Goto Forum:
  


Current Time: Tue Nov 21 10:31:42 GMT 2017

Powered by FUDForum. Page generated in 0.02481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software