70 likes | 81 Views
This article explains component diagrams, which illustrate the organization and dependencies of physical components in a system. Component diagrams provide a higher level of abstraction than class diagrams and are usually implemented by one or more classes. The article also covers the symbols and notations used in component diagrams and explains interfaces and their dependencies. Additionally, it discusses deployment diagrams and their role in visualizing the topology of the physical components in a system.
E N D
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING (2016-17) OBJECT ORIENTED ANALYSIS AND DESIGN III B. Tech II Sem UNIT-5
Component diagram • Illustrate the organizations and dependencies of the physical components in a system. • Has a higher level of abstraction than a Class diagram - usually implemented by one or more classes. Symbols and NotationsComponents A large rectangle with two smaller rectangles on the side.
Component diagram(continued) • InterfaceAn interface describes a group of operations used or created by components. It represents a declaration of a set of coherent public features and obligations, similar to a contract. Dependencies Dashed arrows.
Component diagram(continued) order • Order provides a component interface, which is a collection of one or more methods with or without attributes. • Account and customer components are dependent upon the interface of the order. customer account
Deployment diagram • Deployment diagrams are used to visualize the topology of the physical components of a system where the software components are deployed. • So deployment diagrams are used to describe the static deployment view of a system. Deployment diagrams consist of nodes and their relationships.