Hi,
A model (Class Diagrams) is exported to XMI format. Now,in the class diagrams,each class is stereotyped to follow a design
pattern say Observer Pattern (take 4 classes are participating in a single Observer Pattern). If there are 2 or 3 sets of classes (i.e. there will be 8 or 12 classes) which follow Observer Pattern within the same XMI file then how can we know which class is related to which other 3 classes? (Say in set 1, class c1 is related to c2,c3,c4 but not related to other sets).
I intially thought of using the relationships between the classes (association, generalization/specialization,dependency,interface implementation) inorder to differentiate between the sets of classes. But even in a single set, all the classes (here 4) need not be related.
So,is there any other way to solve this problem?
Thank you.