blob: 055c717a82cdd0a447e76d31c1c50c3f69aa0242 [file] [log] [blame]
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();
};
}