Explain Three Perspective that Applied When using UML in OOAD


Unified Modeling Language (UML) is a visual modeling language used for designing software systems. It provides a standard way to represent the design of a system using various diagrams such as use case diagrams, class diagrams, activity diagrams, and sequence diagrams. UML can be used from different perspectives, depending on the audience or the specific requirements of the system being modeled.

Here are three common perspectives that can be applied when using UML:

1. Structural Perspective: This perspective focuses on the static structure of the system and the relationships between its components. It includes diagrams such as class diagrams, object diagrams, and component diagrams. Class diagrams describe the structure of classes, their attributes, methods, and associations with other classes. Object diagrams show the instances of classes and their relationships at a specific moment in time. Component diagrams illustrate the organization and dependencies of components within a system.

2. Behavioral Perspective: This perspective focuses on the dynamic behavior of the system and the interactions between its components. It includes diagrams such as use case diagrams, activity diagrams, and sequence diagrams. Use case diagrams describe the system's functionality from the perspective of its users. Activity diagrams illustrate the workflow and business processes within the system. Sequence diagrams show the interactions between the system's objects over time.

3. Interaction Perspective: This perspective focuses on the interactions between the users and the system, and between the system's components. It includes diagrams such as sequence diagrams and communication diagrams. Sequence diagrams illustrate the interactions between objects over time, while communication diagrams show the interactions between objects in a more abstract way.

By applying these three perspectives, UML can provide a comprehensive view of a system's design from multiple angles, helping to ensure that the system is well-designed, robust, and meets the needs of its users.

       

Advertisements

ads