5/05/2009

Exercise 20-part7

G. Component Diagram.
I learn the componet diagram from developer(2009).

G1. Scope of component diagram.
The different high-level reusable parts of a system are represented in a Component diagram. A component is one such constituent part of a system. In addition to representing the high-level parts, the Component diagram also captures the inter-relationships between these parts.

G2. Elements of component diagram.
  • Component - The objects interacting with each other in the system. Depicted by a rectangle with the name of the object in it, preceded by a colon and underlined.(See figure 1.)
Figure 1. Componet symbol of componet diagram.
  • Class/Interface/Object - Similar to the notations used in class and object diagrams.(See figure 2.)


Figure 2. Class/Interface/Object symbol of componet diagram.

  • Relation/Association - Similar to the relation/association used in class diagrams. (See figure 3.)


Figure 3. Relation/Association symbol of componet diagram.

References:
Developer (2009). "Component Diagrams in UML". Received 6th May, 2009 from URL - http://www.developer.com/design/article.php/3115721

沒有留言:

發佈留言