












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Activity Diagrams, Analysis Workflow, Tokens, Activity Partitions, Action Nodes, Control Nodes, Object Nodes, Pins, Raman Ramsin, Lecture Slides, Object Oriented Design, Department of Computer Engineering, Sharif University of Technology, Iran.
Typology: Slides
1 / 20
This page cannot be seen from the preview
Don't miss anything!













Department of Computer Engineering
Department of Computer Engineering
Analysis Workflow: Analyze a Use Case The analysis workflow consists of the following activities: Architectural analysis Analyze a use case Outputs: analysis classes use case realizations Analyze a class Analyze a package
Department of Computer Engineering
Activities Activities are networks of nodes connected by edges. Categories of nodes: action nodes - atomic units of work within the activity; control nodes - control the flow through the activity; object nodes - represent objects used in the activity. Categories of edges: control flows - represent the flow of control though the activity; object flows - represent the flow of objects through the activity. Activities can have preconditions and postconditions.
Department of Computer Engineering
Activities: Example
Department of Computer Engineering
Activities: Tokens Tokens flow around the network and can represent: the flow of control; an object; some data. Tokens move from a source node to a target node across an edge depending on: source node postconditions; edge guard conditions; target preconditions.
Department of Computer Engineering
Activity Partitions Activity partitions - a high-level grouping of related actions. Partitions form a hierarchy rooted in a dimension.
Department of Computer Engineering
Action Nodes: Types
Department of Computer Engineering
Action Nodes: Call Call action node: call an activity - use the rake symbol; call a behavior; call an operation.
Department of Computer Engineering
Control Nodes
Department of Computer Engineering
Control Nodes: Decision and Merge
Department of Computer Engineering
Object Nodes Object nodes represent instances of a classifier. Input and output edges are object flows - represent the movement of objects. Object node output edges compete for each output token.
Department of Computer Engineering
Object Nodes: Buffer Semantics Object nodes act as buffers: {upperBound= n}; {ordering= FIFO} XOR {ordering= LIFO}; {ordering= FIFO} is the default; may have a «selection». Object nodes can represent objects in a particular state.
Department of Computer Engineering
Pins A Pin is an object node that represents one input to or output from an action or activity.
Department of Computer Engineering
Reference Arlow, J., Neustadt, I., UML 2 and the Unified Process: Practical Object-Oriented Analysis and Design, 2
Ed. Addison-Wesley,