Saturday, December 14, 2013

Activity Diagram: Unified Modeling Language

Activity diagram is to model the behaviour of the system and how these behaviours are related to the overall flow of the system. Actions performed in business logic are represented as individual nodes and the corresponding action flow as modelled using connectors with appropriate elements like guards, effects, pre-condition, post- condition etc. This diagram is used to analyse the logic behind requirement use case. This diagram details about the sequential and concurrent flow logic explaining what action needs to be performed and when they should occur.
Low level behaviours can be implemented by visualising and modeling the sequence and conditions. This diagram can be modelled using Enterprise Architect to design a workflow from an initial point to an end point elaborating the multiple decision paths that exist in the progress of events contained in the activity. In areas where parallel processing occurs, this diagram is used to detail the situation of some actions. The figure below displays the Activity diagram depicting the logic of a simple Ordering Application.
 
Both sequential and concurrent flow with the below mentioned elements:
Action elementAction PinDecision & Merge ElementsFork & Join ElementsControl Flow & Object FlowAction ElementAn operation performed in the logic is called as Action. The action can be an atomic statement of code which can invoke another class or operation and can send or receive signals etc.
Action PinTo define the data values which are passed into and passed out of an Action element, Action Pin element will be used. The below diagram shows two activity elements such as ‘Send Invoice’ and ‘Make Payment’ and an action pin is used to show the flow of invoice object between these elements.
Decision and Merge elementsTo represent conditional branch logic, Decision and Merge elements are used in Activity diagram. A decision element has one input and can have two or more outbound flows. Condition associated with a branch can be defined using outbound flows. Merging of flows can be indicated using Merge element which can have more than one input flows but only one output flow.
Fork and Join elementsTo represent concurrent flow logic, Fork and Join elements are used. A fork element has one input and can have two or more outbound flows. A new thread in a concurrent flow indicates each outbound flow. The end of concurrent flow logic is indicated by Join element.
Control flow and Object flowsTo represent the flow between the action elements, control flow and object flow connectors are used. Transfer of control between actions is represented by Control flow. Transfer of control and objects between actions is represented by Object flow. The figure below depicts the control flow connector used between ‘Make Payment’ and ‘Accept Payment’ actions and an object flow connector used between ‘Send Invoice’ and ‘Make Payment’ actions which convey the ‘Invoice’ object flow.
Links:
Wise File Recovery is regarded as the most multi-functional tool to recovering files. Wise Data Recovery can recover files (photo, word, e-mail, txt, etc.) that have been "permanently" deleted and marked as free space by the operating system.

Smart HTTP Error Fixer Pro is professional HTTP error fixer. This program is created elaborately and is good for all computer users. Because it provides an easy-to-use interface. Besides troubleshooting http error, Smart HTTP Error Fixer Pro is also a good computer doctor. It can help you fix computer issues just in a few steps. Hypertext Transfer Protocol (HTTP) shows error messages when system configurations go awry.\r\n Specifically, error message such as, HTTP 500 Internal Server Error, http 404 error, http 403 error usually happens when an administrator tries to load a file onto the website. And if you get Dll not found error, dll corrupted, or dll lost problem, you can use Smart HTTP Error Fixer Pro to search and download the missing dll to your system.

Wise PC Inspector File Recovery restores deleted files no longer in the Recycle Bin. It can recover deleted files and documents such as Word, Excel, PowerPoint, photo, Email, database, and all document formats in Windows 98, NT, 2000, XP, 2003, which have been emptied from or by-passed the Windows Recycle Bin. how to recover deleted files will help you recover deleted files in just 3 steps

Easy MP3 Cutter With Powerful Features
Transform Word to PDF - Why and In What Method?
Make Money On The Computer
Free Online Games: - Use Strategy Games To Develop Thinking For Such Situations
MTR Gaming Group Reports Q2 2013 Results

1 comment:

  1. Thanks this info was really helpful! I used a website called Lucidchart to create my own activity diagram and it was really easy to understand. If you use diagrams often you should check it out!

    ReplyDelete