I have a problem with UML component: I need to define two types of inheritance for UML component as following: Let two composites component (component with sub components): A and B The first problem: component B inherited from component A if B has au minimum the same structure (same sub components) as A and we can add some sub components to B if we need. The second problem: Component B inherited from A if B has the same required and provided interfaces of A. So, for do that I need to define tow stereotypes in UML S1 and S2 for each case but my problem is how can I define OCL constraints to do that? Thanks for all.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com