import org.gecko.qvt.osgi.tests.bbox.BlackboxTest; modeltype ECORE "strict" uses ecore('http://www.eclipse.org/emf/2002/Ecore'); modeltype TEST uses "http://dim.de/test"; transformation PersonTransformationWithBlackbox(in rawIn : TEST, out rawOut : TEST); main() { rawIn.rootObjects()[Person]->map mapToFemalePerson(); } mapping Person::mapToFemalePerson() : Person { firstName := self.firstName + "in"; lastName := self.lastName + "in"; gender := GenderType::FEMALE; address := self.address.getCopyAddress(); }