• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XMI and Design Patterns

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic