This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assignment Component Diagram

 
Asif Fraz
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am making my component diagram for the assignment.

I have a question that if i make a component and defines a provided interface, is it necessary to define another component defining the corresponding required interface? Or is it OK without the corresponding required interface defined?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The component diagram should able to see what components are in each tier.

Normally for every interface should have something implementing or using it.

As for your question "is it necessary?" I would say no but I would recommend it. Or just say it as a component (a box) rather than an interface (lollipop notation).
 
Asif Fraz
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thanks K. Tsang.

I believe I need to further work on it.

I have another related question.

In Modelio the component icon symbol is coming in the left hand side upper corner, but in UML it is mentioned that it should be on the right side upper corner. What to do about it?
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Asif Fraz wrote:In Modelio the component icon symbol is coming in the left hand side upper corner, but in UML it is mentioned that it should be on the right side upper corner. What to do about it?


So you using Modelio? Good choice I liked using it very much but sometime something isn't obvious or hard to find. Yet google is your friend for that

Regarding component diagram, make sure you are using UML 2. The v2 diagram has that icon of the top right. The v1 on the other hand has that 2 bar sticking on left.

When in doubt the sterotype "<<component>>" is your best bet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic