Диаграммы взаимодействия в Rose. (Тема 6) презентация

Содержание

Слайд 2

Where Are We? Classes Interaction diagrams Elements of a sequence

Where Are We?

Classes
Interaction diagrams
Elements of a sequence diagram
Elements of a collaboration

diagram
Reports
Слайд 3

What Are Classes? A class is a set of objects


What Are Classes?

A class is a set of objects

that share the same attributes, operations, relationships, and semantics.
In the UML, a class is represented by a compartmentalized rectangle.
Слайд 4

Attributes An attribute defines the characteristics or structure of a


Attributes

An attribute defines the characteristics or structure of a

class.
In the UML, a class attribute is displayed in the middle of the compartmentalized rectangle.
Слайд 5

Operations An operation is the service provided by the class.


Operations

An operation is the service provided by the class.

It is the behavior of the class.
In the UML, a class operation is displayed in the bottom of the compartmentalized rectangle.

Operations

Responsibilities

Слайд 6

How Are Classes Found? Classes can be discovered using various artifacts. Classes


How Are Classes Found?

Classes can be discovered using various

artifacts.

Classes

Слайд 7

Where Are We? Classes Interaction diagrams Elements of a sequence

Where Are We?

Classes
Interaction diagrams
Elements of a sequence diagram
Elements of a collaboration

diagram
Reports
Слайд 8

What Are Interaction Diagrams? An interaction diagram models the dynamic


What Are Interaction Diagrams?

An interaction diagram models the dynamic

aspects of the system by showing relationships among objects and the messages they may dispatch.
There are two types of interaction diagrams.
Sequence
Collaboration
Слайд 9

What Are Interaction Diagrams? As with use-case diagrams, you will


What Are Interaction Diagrams?

As with use-case diagrams, you will

use specific input artifacts to create interaction diagrams.

Use-Case Diagram

Interaction Diagrams

Слайд 10

What Are Interaction Diagrams? Interaction diagrams are modeled in the


What Are Interaction Diagrams?

Interaction diagrams are modeled in the

Logical View under the appropriate use- case realization.
They are created based on the use cases included in the use-case model and the use-case flow of events.
Слайд 11

Where Are We? Classes Interaction diagrams Elements of a sequence

Where Are We?

Classes
Interaction diagrams
Elements of a sequence diagram
Elements of a collaboration

diagram
Reports
Слайд 12

A sequence diagram is an interaction diagram that emphasizes the

A sequence diagram is an interaction diagram that emphasizes the

time ordering of messages.


What Are Sequence Diagrams?

Слайд 13

A sequence diagram is made up of the following basic

A sequence diagram is made up of the following basic

elements
Actors
Objects
Messages
Lifelines
Focus of control


What Are Sequence Diagrams?

Слайд 14

Actors An actor is someone or something outside the system


Actors

An actor is someone or something outside the system

that interacts with the system, either by giving or receiving information or both.
Слайд 15

Objects An object is an entity with a well-defined boundary


Objects

An object is an entity with a well-defined boundary

and identity that encapsulates state and behavior.
An object is an instance of a class.
In UML, the object is represented by a rectangle with the object name underlined.
Слайд 16

Messages A message is the communication between two objects that


Messages

A message is the communication between two objects that

triggers an event.
In the UML, an object message is represented by a labeled arrow in a sequence diagram.

Message

Слайд 17

Lifelines A lifeline represents the existence of the object at


Lifelines

A lifeline represents the existence of the object at

a particular time.
In the UML, an object symbol is drawn at the top of the lifeline.

Lifeline

Слайд 18

Focus of Control A focus of control shows the period


Focus of Control

A focus of control shows the period

of time during which an object is performing an action, either directly or through a subordinate procedure.
In the UML, focus of control is represented by a tall, thin rectangle.

Focus of Control

Слайд 19

Where Are We? Classes Interaction diagrams Elements of a sequence

Where Are We?

Classes
Interaction diagrams
Elements of a sequence diagram
Elements of a collaboration

diagram
Reports
Слайд 20

What Are Collaboration Diagrams? A collaboration diagram emphasizes the organization


What Are Collaboration Diagrams?

A collaboration diagram emphasizes the organization

of the objects that participate in an interaction.
Слайд 21

What Are Collaboration Diagrams? A collaboration diagram is made up


What Are Collaboration Diagrams?

A collaboration diagram is made up

of the following basic elements
Actors
Objects
Links
Messages
Слайд 22

Links A link is a pathway for communication between objects


Links

A link is a pathway for communication between objects

on a collaboration diagram.
In the UML, an object link is represented by a solid line between two objects.
Слайд 23

Messages A message is the communication between two objects that


Messages

A message is the communication between two objects that

triggers an event.
In the UML, an object message is represented by a labeled arrow above the link in a collaboration diagram.
Слайд 24

Where Are We? Classes Interaction diagrams Elements of a collaboration

Where Are We?

Classes
Interaction diagrams
Elements of a collaboration diagram
Elements of a sequence

diagram
Reports
Слайд 25

Show Unresolved Objects The Show Unresolved Objects report lists all

Show Unresolved Objects

The Show Unresolved Objects report lists all unresolved objects

in a collaboration or sequence diagram.
Слайд 26

Show Unresolved Messages The Show Unresolved Messages report lists all

Show Unresolved Messages

The Show Unresolved Messages report lists all unresolved messages

in a collaboration or sequence diagram.
Имя файла: Диаграммы-взаимодействия-в-Rose.-(Тема-6).pptx
Количество просмотров: 49
Количество скачиваний: 0