Component Diagram
Component Diagram
DIAGRAM
INTRODUCTION
• UML diagram classification:
• Static
• Use case diagram, Classdiagram
• Dynamic
• State diagram, Activity diagram, Sequence diagram, Collaboration
diagram
• Implementation
• Component diagram, Deployment diagram
• Encapsulated
• One or moreinterfaces
• Component Stereotype
• <<executable>>: executable file (.exe)
• <<library>>: references resources (.dll)
• <<file>>:text file, source code file, etc.
• <<table>>: database file, table file,etc.
• <<document>>: document file, web page file, etc.
Elements of Component
Component Interface
Component dependencies
Elements(contd…)
• Interface may also be shown
using a rectangle symbol with a
keyword <<interface>>
preceding the name