In 2001, the Model-Driven Architecture is a new software methodology initiated by Object Management Group. It separates the specification of system functionality from that of the implementation of that functionality on a particular technology platform, and meets "Design once, implement it on any platform" .This dissertation extends object constraint language to precisely describe software patterns. Patterns are introduced to the transformation from PIM to PSM to promote the efficiency of model transformations and reduce errors of model transformations. An frame of the method of transformation from PIM to PSM using patterns is brought forward.This thesis consists of several parts of work as follows:(1) To study the principle and basic specifications of MDA.(2) To analyze software patterns, and to study and extend ocl to make it adapt to describe patterns.(3) To study some methods of transforamtion from PIM to PSM, and introduce patterns to model transformation, give an entire frame of a method of transformation from PIM to PSM using patterns.(4) To validate the feasibility of transforamtion from PIM to PSM based-pattern using OptimalJ through practical project example.
|