import emf.tools; | |
modeltype ecore "strict" uses ecore('http://www.eclipse.org/emf/2002/Ecore'); | |
transformation bug463572_lib(in e : ecore, out ecore); | |
main() { | |
} | |
mapping EClassifier::mapClassifier(packName : String) : r1 : EClass, r2 : EPackage { | |
if (r1.name = null) { | |
r1.name := self.name + "_" + currentTimeMillis().toString(); | |
}; | |
if (r2.name = null) { | |
r2.name := self.name + packName + currentTimeMillis().toString(); | |
}; | |
} |