File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Constraints

 
Genefer Bruns
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all,

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 agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic