Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL]How to read annotations
[ATL]How to read annotations [message #685335] Fri, 17 June 2011 09:47 Go to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

is there a way to conveniently access the annotations of an element in an ecore file? I write a transformation with an ecore file as source model.

Thanks,

Ralph

[Updated on: Wed, 22 June 2011 12:36]

Report message to a moderator

Re: How to read annotations [message #685380 is a reply to message #685335] Fri, 17 June 2011 11:59 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 522
Registered: July 2009
Senior Member
getEAnnotation(name : String) returns the eAnnotation with the corresponding name.
Re: How to read annotations [message #685415 is a reply to message #685380] Fri, 17 June 2011 13:22 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
Registered: November 2009
Senior Member
Hi,

thank you! This realy helps me!!

Ralph
Previous Topic:[ATL] BPMN to UML Activity Diagram transformation problem
Next Topic:[ATL] Error: "Cannot overload Ecore"
Goto Forum:
  


Current Time: Wed Sep 17 13:51:44 GMT 2014

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

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