Professional Documents
Culture Documents
Overview
Activity Diagram
Grouping
Exception
Activity Diagram
An activity diagram shows the actions that make up an activity now. Action has local precondition and local postcondition. Action can have multiple incoming flows.
Action can start as a result of those incoming flows or receiving a signal. New special signal, Time Signal. New form of control flow notation is Flow Final. Final addition is connector.
Grouping
Subactivity Diagram
An action can be decomposed into a sequence of other actions. That means the action is implemented by a subactivity. Input and output parameters can be added to activity diagram by placing the input and output objects on the edge of the activity node.
Grouping (Cont)
Expansion Regions
It has an explicit input that is a collection of values. It is executed once for each element in the input collection. Input and output collections are in same size, value type. Three different execution mode: parallel, iterative and stream.
Grouping (Cont)
Multi-Dimension Swimlanes
It uses activity partitions to solve multi-dimension presentation. Because partitions can be nested, more than two dimensions can be presented.
Exception
Try block => Protected Node. Catch block => Handler body.
Class Diagram
Attributes can be presented by Compartmentalized Strings or Associations. Attributes are defined with the following syntax to allow this equivalence:
An open arrow occurs at the end of an association, navigation may occur from the source to the target. If an X appears at the end of the association, navigation may not occur. If both do not occur, it allows navigation in both directions.
Actions of Activity diagram help us break down each activity into more detailed level. Multi-Dimension partitions of Activity Diagram make us to specify that who is taking which actions.
References
[1] Granville Miller. Whats New in UML 2.0? Part one in three part series, 2003. Available at: http://bdn.borland.com/article/0,1410,31881,00.html [2] Bran Selic. Tutorial: An Overview of UML 2.0, 2004. [3] Bran Selic. Tutorial H2: An Overview of UML 2.0, 2003. [4] Morgan Bjorkander and Cris Kobryn. Architecting Systems with UML 2.0. IEEE Computer Security, 2003. [5] Harald Storrle. Semantics of Control-Flow in UML 2.0 Activities, 2004. [6] Harald Storrle. Semantics of Interaction in UML 2.0, 2003. [7] Kendall Scott. Fast Track UML 2.0. Apress, 2004. ISBN:1-5905-93200.
Q & A?
Any questions?