摘要
To achieve the purpose of applying design patterns which are various in kind and constant in changing in MDA from idea and application,one way is used to solve the problem of pattern disappearance which occurs at the process of pattern instantiation,to guarantee the independence of patterns,and at the same time,to apply this process to multiple design patterns.To solve these two problems,the modeling method of design pattern units based on meta-models is adopted,i.e.,to divide the basic operations into atoms in the meta-model tier and then combine the atoms to complete design pattern units meta-models without business logic.After one process of conversion,the purpose of making up various pattern units meta-model and dividing business logic and pattern logic is achieved.
To achieve the purpose of applying design patterns which are various in ldnd and constant in changing in MDA from idea and application, one way is used to solve the problem of pattern disappearance which occurs at the process of pattern instantiation, to guarantee the independence of patterns, and at the same time, to apply this process to multiple design pattems. To solve these two problons, the modeling method of design pattern traits based on meta-models is adopted, i.e., to divide the basic operations into atoms in the metamodel tier and then combine the atoms to complete design pattem units meta-models withtout business logic. After one process of conversion, the purpose of making up various pattem traits meta-model and dividing business logic and pattern logic is achieved.