"Object-Oriented Design: Activity Diagrams, Exception Handling, Signals", Slides of Object Oriented Analysis and Design

A series of slides from a university lecture on object-oriented design at sharif university of technology. The lecture covers various topics including activity diagrams (part 2), analyzing a use case, connectors, interruptible activity regions, exception handling, expansion nodes, sending signals and accepting events, streaming, advanced object flows, input and output effects, multicast and multireceive, parameter sets, central buffer nodes, and interaction overview diagrams. The slides also include examples and references.

Typology: Slides

2011/2012

Uploaded on 02/19/2012

hester
hester 🇮🇷

4.5

(13)

84 documents

1 / 18

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Department of Computer Engineering 1 Sharif University of Technology
Object-Oriented Design
Lecturer: Raman Ramsin
Lecture 12:
Activity Diagrams Part 2
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download "Object-Oriented Design: Activity Diagrams, Exception Handling, Signals" and more Slides Object Oriented Analysis and Design in PDF only on Docsity!

Department of Computer Engineering

Sharif University of Technology

Object-Oriented Design

Lecturer: Raman Ramsin

Lecture 12 :

Activity Diagrams – Part 2

Department of Computer Engineering

Sharif University of Technology

Analysis Workflow: Analyze a Use Case  The analysis workflow consists of the following activities:  Architectural analysis  Analyze a use caseOutputs:analysis classesuse case realizations  Analyze a class  Analyze a package

Department of Computer Engineering

Sharif University of Technology

Interruptible Activity Regions  interrupted when a token traverses an interrupting edge.  all flows in the region are aborted when it is interrupted.  interrupting edges are drawn as a zigzag arrow or as a normal arrow with a zigzag icon above it.

Department of Computer Engineering

Sharif University of Technology

Exception Handling  Exception pins:  output an exception object from an action;  are indicated with an equilateral triangle.  Protected nodes:  have an interrupting edge leading to an exception handler;  abort when an exception of the right type is raised, and flow passes to the exception handler node.

Department of Computer Engineering

Sharif University of Technology

Expansion Nodes: Example

Department of Computer Engineering

Sharif University of Technology

Sending Signals and Accepting Events  Signals:  information that is passed asynchronously between objects;  class stereotyped «signal»;  the information is held in the attributes.

Department of Computer Engineering

Sharif University of Technology

Sending Signals and Accepting Events: Examples

Department of Computer Engineering

Sharif University of Technology

Streaming

Department of Computer Engineering

Sharif University of Technology

Input and Output Effects

Department of Computer Engineering

Sharif University of Technology

Multicast and Multireceive  Multicast sends an object to many receivers:  stereotype the object flow «multicast».  Multireceive receives objects from many senders:  stereotype the object flow «multireceive».

Department of Computer Engineering

Sharif University of Technology

Central Buffer Nodes  Central buffer node - object nodes that are used specifically as buffers:  stereotype the object node «centralBuffer».

Department of Computer Engineering

Sharif University of Technology

Interaction Overview Diagrams  Interaction overview diagrams show flow between interactions and interaction occurrences