An approach to evaluating structural pattern conformance of UML models

Dae-Kyoo Kim, Wuwei Shen
2007 Proceedings of the 2007 ACM symposium on Applied computing - SAC '07  
This paper describes an approach to evaluating the structural conformance of a UML class diagram to a design pattern. A design pattern is specified in an extension of the UML that defines the pattern as a family of models. A pattern specification consists of a set of pattern roles where a role specifies the properties of a pattern participant. The approach uses a divide-and-conquer method to evaluate pattern conformance. In the approach a pattern and the model being evaluated are decomposed
more » ... blocks. Then, the model blocks are evaluated for conformance to the role blocks in the pattern. When all individual role blocks are satisfied by the model blocks, the pattern as a whole is considered to evaluate the entire conformance of the model. A major benefit of this approach is the support for variations of pattern realizations through the notion of pattern roles. We illustrate the approach using the Visitor pattern and a price calculator, and demonstrate a prototype tool that supports the approach.
doi:10.1145/1244002.1244305 dblp:conf/sac/KimS07 fatcat:wqtzuii76be5fisffuwsgkxn7y