Presentation is loading. Please wait.

Presentation is loading. Please wait.

Class, Sequence and UML Model.  Has actors and use cases.

Similar presentations


Presentation on theme: "Class, Sequence and UML Model.  Has actors and use cases."— Presentation transcript:

1 Class, Sequence and UML Model

2  Has actors and use cases

3  Actors - entities whose behavior appears in the "Actor's Actions" column, *the entities whose behavior appears in the "System's Response" column are also actors  Use case - sequence of actions that provide something of measurable value to an actor

4

5

6

7  circle

8

9  A UML diagram that depicts: ◦ interactions between objects. ◦ how the business currently works by showing how various business objects interact.  Purpose: 1. Model flow of control 2. Identify synchronization 3. Illustrate typical scenarios

10  The focus is less on messages themselves and more on the order in which messages occur.  The diagram conveys this information along 2 dimensions: ◦ the vertical dimension shows, top down, the time sequence of messages/calls as they occur, ◦ the horizontal dimension shows, left to right, the object instances that the messages are sent to.

11  Example I

12  read them from top to bottom.  As time increases, it depicts events happening in the system,  Also shows how various parts of the system react to each other.

13  Purchase order

14

15

16

17

18  Creating a new event in calendar

19  These illustrate the dynamic nature of a system by modeling the flow of control from activity to activity.  An activity represents an operation on some class in the system that results in a change in the state of the system.

20

21

22  depict the various states that an object may be in and the transitions between those states.

23  Define states – condition or situation  Describe state – add more information on each state  Describe Transitions – join with arrows  Define transition triggers – define events  Define guard/Constraints – set constraints on the transition triggers

24  State diagram for bank amount

25

26  The Deployment Diagram helps to model the physical aspect of an Object-Oriented software system.  It models the run-time configuration in a static view and visualizes the distribution of components in an application.  Generally, it involves modeling the hardware configurations together with the software components that lived on.

27  For a simple reservation system

28  A Communication diagram models the interactions between objects or parts in terms of sequenced messages.  Communication diagrams represent a combination of information taken from Class, Sequence, and Use Case Diagrams describing both the static structure and dynamic behavior of a system.  Communication diagrams show which elements each one interacts with better, whereas, sequence diagrams show the order in which the interactions take place more clearly.

29


Download ppt "Class, Sequence and UML Model.  Has actors and use cases."

Similar presentations


Ads by Google