transformation Ecore_To_Uml(in dummy : ECORE, out ECORE); | |
import Strings; | |
modeltype ECORE uses ecore('http://www.eclipse.org/emf/2002/Ecore'); | |
mapping EClass::a() : EPackage when {self.name = 'a' } | |
{ | |
name := 'b++' + self.name; | |
} | |
query EAttribute::foo() : String { | |
/*@*/ -- self not included in the list of proposals | |
} |