资源描述:
《Model Transformation with Operational QVT.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ModelTransformationwithOperationalQVTModelTransformationwithOperationalQVTQVTOperational-M2Mcomponenthttp://www.eclipse.org/m2mRadomilDvorakQVTOperationalcomponentleadBorlandSoftwareCorporationModelTransformationwithOperationalQVT
2、LongTalk,EclipseCon2008
3、©2
4、008byBorlandSoftwareCorp.
5、MadeavailableundertheEPLv1.0AgendaAgenda•OverviewofQVTOperationallanguage•M2M/QVTO+toolingsupport•ExamplesSimpleillustrativeEcore2EmofMDDuse-casewithinGMFproject•Q&AModelTransformationwithOperationalQVT
6、LongTalk,EclipseCon2008
7、©2
8、008byBorlandSoftwareCorp.
9、MadeavailableundertheEPLv1.0OperationalQVTOperationalQVT•FinalAdoptedSpecification-ptc/07-07-07•Whyoperational?•Designedfortransformationsthathavetobuildtargetmodelsofacomplexstructure•Incaseswhenthereisnodirectcorrespondencebetwee
10、nindividualelementsofthesourceandtargetmodels->mightbedifficulttodescribedeclaratively•QVTo–imperative(procedural)languagespecifyingexplicitstepstoexecuteinordertoproducetheresultModelTransformationwithOperationalQVT
11、LongTalk,EclipseCon2008
12、©2008byBorlandSo
13、ftwareCorp.
14、MadeavailableundertheEPLv1.0OperationalTransformationOperationalTransformation•Definestheprocessofconverting{1..*}sourcemodelsinto{1..*}targetmodels.•Themosttypicalscenario-MaconformingtometamodelMMaconvertedintoamodelMbconformingtometamodelMMb.
15、•IfMa=Mb->in-placetransformation•Themetamodelsinvolvedinthetransformationaremanifestedintransformationsignature.transformationMMaToMMb(inMa:MMa,outMb:MMb);•Setoftypedmodelparametersindicatethereferredmetamodelsandprovidesamechanismforinspectingactualmodelin
16、stancesinruntime.•in
17、out
18、inoutdirectionkind->restrictionstoobjectcreation,changeabilityModelTransformationwithOperationalQVT
19、LongTalk,EclipseCon2008
20、©2008byBorlandSoftwareCorp.
21、MadeavailableundertheEPLv1.0ModeltypedeclarationModeltypedeclaration•Modeltypeis
22、thetypeoftransformationmodelparameters•Implicit-nomodeltypeisdeclaredexplicitly;themetamodelscanberesolvedbyname->theeffectofimplicitmodeltypedeclaration,takingthenameofreferredmetamodel.•Explicit-acon