Разделы презентаций


IBM Software Group ® Essentials of Visual Modeling with UML 2.0 Module 5:

Содержание

ObjectivesDescribe dynamic behavior and show how to capture it in a model.Demonstrate how to read and interpret: A sequence diagram A communication diagramExplain the similarities and differences between communication and sequence

Слайды и текст этой презентации

Слайд 1IBM Software Group
®

Essentials of Visual Modeling with UML 2.0 Module

5: Interaction Diagrams

IBM Software Group®Essentials of Visual Modeling with UML 2.0  Module 5: Interaction Diagrams

Слайд 2Objectives
Describe dynamic behavior and show how to capture it in

a model.
Demonstrate how to read and interpret:
A sequence diagram


A communication diagram
Explain the similarities and differences between communication and sequence diagrams.
ObjectivesDescribe dynamic behavior and show how to capture it in a model.Demonstrate how to read and interpret:

Слайд 3Objects Need to Collaborate
Objects are useless unless they can collaborate

to solve a problem.
Each object is responsible for its own

behavior and status.
No one object can carry out every responsibility on its own.
How do objects interact with each other?
They interact through messages.
Objects Need to CollaborateObjects are useless unless they can collaborate to solve a problem.Each object is responsible

Слайд 4Objects Interact with Messages
A message shows how one object asks

another object to perform some activity.
: Car buyer
:RegistrationController
:CourseCatalogSystem
getCourseOfferings(forSemester)
Message

Objects Interact with MessagesA message shows how one object asks another object to perform some activity. :

Слайд 5What is an Interaction Diagram?
Generic term that applies to several

diagrams that emphasize object interactions
Sequence Diagram
Communication Diagram

Specialized Variants
Timing Diagram
Interaction Overview

Diagram
What is an Interaction Diagram?Generic term that applies to several diagrams that emphasize object interactionsSequence DiagramCommunication DiagramSpecialized

Слайд 6Interaction Diagrams
Sequence Diagram
Time oriented view of object interaction


Communication Diagram
Structural

view of messaging objects

Communication Diagrams

Interaction DiagramsSequence DiagramTime oriented view of object interaction Communication DiagramStructural view of messaging objectsCommunication Diagrams

Слайд 7Interaction Diagrams
Timing Diagram
Time constraint view of messages involved in an

interaction


Interaction Overview Diagram
High level view of interaction sets combined into

logic sequence

Timing Diagrams

Interaction DiagramsTiming DiagramTime constraint view of messages involved in an interactionInteraction Overview DiagramHigh level view of interaction

Слайд 8Sequence diagrams
Communication diagrams
Interaction diagram comparison

Where Are We?

Sequence diagramsCommunication diagramsInteraction diagram comparisonWhere Are We?

Слайд 9What Is a Sequence Diagram?
A sequence diagram is an interaction

diagram that emphasizes the time ordering of messages.
The diagram shows:
The

objects participating in the interaction.
The sequence of messages exchanged.

Sequence Diagram

What Is a Sequence Diagram?A sequence diagram is an interaction diagram that emphasizes the time ordering of

Слайд 10Example: Sequence Diagram
: Student
:RegisterForCoursesForm
:RegistrationController
: Course Catalog
:CourseCatalogSystem
1: create

schedule( )
5: display course offerings( )
2: get course offerings( )
3:

get course offerings(forSemester)

6: display blank schedule( )

4: get course offerings( )

Example: Sequence Diagram : Student:RegisterForCoursesForm :RegistrationController : Course Catalog:CourseCatalogSystem1: create schedule( )5: display course offerings( )2: get

Слайд 11Sequence Diagram Contents: Objects
:RegisterForCoursesForm
:RegistrationController
SWTSU Catalog :
CourseCatalogSystem
Anonymous Objects
Lifelines
Named Object

Sequence Diagram Contents: Objects:RegisterForCoursesForm:RegistrationControllerSWTSU Catalog : CourseCatalogSystemAnonymous ObjectsLifelinesNamed Object

Слайд 12:RegisterForCoursesForm
:RegistrationController
SWTSU Catalog :
CourseCatalogSystem
: Student
: Course Catalog
Sequence Diagram

Contents: Actor
Actor instances

:RegisterForCoursesForm:RegistrationControllerSWTSU Catalog : CourseCatalogSystem : Student : Course CatalogSequence Diagram Contents: ActorActor instances

Слайд 13Sequence Diagram Contents: Messages
Reflexive
Messages
1: create schedule( )
2: get course offerings(

)
3: get course offerings(for Semester)
4: get course offerings( )
:RegisterForCoursesForm
:RegistrationController
SWTSU Catalog

:

CourseCatalogSystem

: Student

: Course Catalog

6: display blank schedule( )

5: display course offerings( )

Message

Sequence Diagram Contents: MessagesReflexiveMessages1: create schedule( )2: get course offerings( )3: get course offerings(for Semester)4: get course

Слайд 141: create schedule( )
2: get course offerings( )
3: get course

offerings(for Semester)
4: get course offerings( )
6: display blank schedule( )
:RegisterForCoursesForm
:RegistrationController
SWTSU

Catalog :

CourseCatalogSystem

: Student

: Course Catalog

Sequence Diagram Contents: Execution Occurrence

Execution Occurrence

5: display course offerings( )

1: create schedule( )2: get course offerings( )3: get course offerings(for Semester)4: get course offerings( )6: display

Слайд 151: create schedule( )
2: get course offerings( )
3: get course

offerings(for Semester)
4: get course offerings( )
6: display blank schedule( )
:RegisterForCoursesForm
:RegistrationController
SWTSU

Catalog :

CourseCatalogSystem

: Student

: Course Catalog

Sequence Diagram Contents: Event Occurrence

Event Occurrence

5: display course offerings( )

1: create schedule( )2: get course offerings( )3: get course offerings(for Semester)4: get course offerings( )6: display

Слайд 161: create schedule( )
2: get course offerings( )
3: get course

offerings(for Semester)
4: get course offerings( )
6: display blank schedule( )
:RegisterForCoursesForm
:RegistrationController
SWTSU

Catalog :

CourseCatalogSystem

: Student

: Course Catalog

Sequence Diagram Contents: Interaction Occurrence

5: display course offerings( )

Interaction Occurrence

1: create schedule( )2: get course offerings( )3: get course offerings(for Semester)4: get course offerings( )6: display

Слайд 17Sequence diagrams
Communication diagrams
Interaction diagram comparison

Where Are We?

Sequence diagramsCommunication diagramsInteraction diagram comparisonWhere Are We?

Слайд 18What Is a Communication Diagram?
A communication diagram emphasizes the organization

of the objects that participate in an interaction.
The communication diagram

shows:
The objects participating in the interaction.
Links between the objects.
Messages passed between the objects.

Communication Diagrams

What Is a Communication Diagram?A communication diagram emphasizes the organization of the objects that participate in an

Слайд 19Example: Communication Diagram
: Student
: RegisterForCoursesForm
: RegistrationController
:

CourseCatalogSystem
5: display course offerings( )
6: display blank schedule( )
:

Course Catalog

1: create schedule( )

2: get course offerings( )

3: get course offerings(forSemester)

4: get course offerings( )

Example: Communication Diagram : Student : RegisterForCoursesForm : RegistrationController : CourseCatalogSystem5: display course offerings( )6: display blank

Слайд 20Communication Diagrams Contents: Objects
Objects
: RegisterForCoursesForm
: RegistrationController
SWTSU Catalog
:

CourseCatalogSystem

Communication Diagrams Contents: ObjectsObjects : RegisterForCoursesForm : RegistrationControllerSWTSU Catalog : CourseCatalogSystem

Слайд 21Communication Diagram Contents: Actors
: Student
: Course Catalog
Actors

Communication Diagram Contents: Actors : Student : Course CatalogActors

Слайд 22Communication Diagram Contents: Links and Messages
: Student
: RegisterForCoursesForm

: RegistrationController
: CourseCatalogSystem
5: display course offerings( )
6: display blank

schedule( )

: Course Catalog

1: create schedule( )

2: get course offerings( )

3: get course offerings(forSemester)

4: get course offerings( )

Links

Messages

Communication Diagram Contents: Links and Messages : Student : RegisterForCoursesForm : RegistrationController : CourseCatalogSystem5: display course offerings(

Слайд 23Sequence diagrams
Communication diagrams
Interaction diagram comparison
Where Are We?

Sequence diagramsCommunication diagramsInteraction diagram comparisonWhere Are We?

Слайд 24Sequence and Communication Diagram Similarities
Semantically equivalent
Can convert one diagram to

the other without losing any information
Model the dynamic aspects of

a system
Model a use-case scenario
Sequence and Communication Diagram SimilaritiesSemantically equivalentCan convert one diagram to the other without losing any informationModel the

Слайд 25Sequence and Communication Diagram Differences

Sequence and Communication Diagram Differences

Слайд 26What is the purpose of an interaction diagram?
What is a

sequence diagram? A communication diagram?
What is a timing diagram? An

interaction overview diagram?
What are the similarities between sequence and communication diagrams?
What are the differences between sequence and communication diagrams?

Review

What is the purpose of an interaction diagram?What is a sequence diagram? A communication diagram?What is a

Слайд 27Exercise
Given:
A set of objects and their links and messages
Produce:
A sequence

diagram
A communication diagram

ExerciseGiven:A set of objects and their links and messagesProduce:A sequence diagramA communication diagram

Обратная связь

Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое TheSlide.ru?

Это сайт презентации, докладов, проектов в PowerPoint. Здесь удобно  хранить и делиться своими презентациями с другими пользователями.


Для правообладателей

Яндекс.Метрика