| transformation bugzilla443; | |
| modeltype ECORE uses 'http://www.eclipse.org/emf/2002/Ecore'; | |
| mapping main(in model: ecore::EPackage): ecore::EPackage { | |
| name := model.name.toInt().toZero() + model.name.toInt().toString(); | |
| } | |
| query String::toInt() : Integer { | |
| return 1 | |
| } | |
| query Integer::toZero() : String { | |
| return 'Zero' | |
| } | |