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 05: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 08:36]

Report message to a moderator

Re: How to read annotations [message #685380 is a reply to message #685335] Fri, 17 June 2011 07: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 09: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: Thu Jul 24 00:33:43 EDT 2014

Powered by FUDForum. Page generated in 0.02402 seconds