introduction to uml
DESCRIPTION
This is an introduction to UML (Unified Modeling Language) given to people whom has no background on business modeling using UML. This is based on UML version 2.TRANSCRIPT
![Page 1: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/1.jpg)
Training on UML and using Enterprise Architect
(Basic UML and EA)
by: Nurul Haszeli AhmadMatrix Power Network Sdn.Bhd
30 July 2012
![Page 2: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/2.jpg)
Introduction to UML
Q & A
UML Methods and Process
Using EA to Design UML
Practical
![Page 3: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/3.jpg)
Introduction to UML
Q & A
UML Methods and Process
Using EA to Design UML
Practical
![Page 4: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/4.jpg)
Modeling
4
Why Modeling?
![Page 5: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/5.jpg)
Why Modeling?• Modeling will:
– Captured and simplified requirements– Visualize the entire systems and process in an easy to understand
diagram
– Specified the process, features, or functionality of the entire systems
• Eventually, modeling will:– Sharpen user understanding on fundamental processes
– Allowed user to compare alternative
– Help to make decisions and improve system behavior
– Provide a guidelines for future enhancement
– Reduce unnecessary risk.
5
![Page 6: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/6.jpg)
The History
6
The Story begins ….
James RumbaughIvar JacobsonGrady Booch
OMG
![Page 7: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/7.jpg)
The Time Series
7
![Page 8: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/8.jpg)
Introduction to UML
Q & A
UML Methods and Process
Using EA to Design UML
Practical
![Page 9: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/9.jpg)
9
UML
Listed in Modeling and
Metadata Specifications
Latest version is 2.4.1 (August
2011)
14 sets of diagrams
http://www.uml.org/
![Page 10: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/10.jpg)
The 14
10
Behavior Diagram
Structure Diagram
Interaction Diagram
Profile Diagram
Class Diagram
Composite Structure Diagram
Component Diagram
Deploy Diagram
Object Diagram
Package Diagram
Use Case Diagram
Aktiviti Diagram
State Machine Diagram
Sequence Diagram
Comm. Diagram
Interaction Overview Diagram
Timing Diagram
![Page 11: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/11.jpg)
Structural Diagram
1. Class Diagram2. Component Diagram3. Object Diagram4. Profile Diagram5. Composite Structure Diagram6. Package Diagram7. Deployment Diagram
11
![Page 12: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/12.jpg)
Class Diagram
12
![Page 13: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/13.jpg)
Component Diagram
13
![Page 14: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/14.jpg)
Object Diagram
14
![Page 15: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/15.jpg)
Profile Diagram
15
![Page 16: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/16.jpg)
Composite Structure Diagram
16
![Page 17: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/17.jpg)
Package Diagram
17
![Page 18: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/18.jpg)
Deployment Diagram
18
Implementation/Manifestation of components by artifactsSpecification level deployment diagramInstance level deployment diagramNetwork architecture of the system
![Page 19: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/19.jpg)
Behavior Diagram
• Describe the events in the system• Shows interactions of elements• 3 types of diagrams:
– Use Case– Activity– State Machine
19
![Page 20: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/20.jpg)
Use Case Diagram
20
![Page 21: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/21.jpg)
Activity Diagram
21
![Page 22: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/22.jpg)
State Machine Diagram
22
Behavioral State DiagramProtocol State Diagram
![Page 23: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/23.jpg)
Interaction Diagram
• Subset of Behavior• 4 types of diagram
– Sequence– Communication – Interaction
Overview– Timing
23
![Page 24: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/24.jpg)
Sequence Diagram
24
![Page 25: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/25.jpg)
Communication Diagram
25
![Page 26: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/26.jpg)
Interaction Overview Diagram
26
![Page 27: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/27.jpg)
Timing Diagram
27
![Page 28: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/28.jpg)
28
Which Diagram to used?
![Page 29: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/29.jpg)
29
PhasesDiagrams
Requirement Analysis Design Coding Deploy
Class √ √ √Component √ √Object √ √ √Profile √ √Composite Structure √Package √ √ √Deployment √Use Case √ √Activity √ √State Machine √Sequence √Communication √Interaction Overview √Timing √
Class
Object
Use Case
Activity
Sequence
![Page 30: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/30.jpg)
Introduction to UML
Q & A
UML Methods and Process
Using EA to Design UML
Practical
![Page 31: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/31.jpg)
Introduction to UML
Q & A
UML Methods and Process
Using EA to Design UML
Practical
![Page 32: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/32.jpg)
ScenarioScenario 1• Your team has been hired as software integrator to provide an application that stores various substations
documents in a server. The application shall have at least two type of users of which one type of user is allow accessing all applications features whereas the other user is allow to access limited features. The application shall be able to store documents, perform folder and document manipulation (print, upload, download, etc). You are required to perform business analysis and create at least one of UML diagram.
Scenario 2• Your team is required to perform analysis and design a system that able to interrogate primary and
secondary equipment’s condition (including health, status, and performances) in a substation. Perform business process analysis and using Enterprise Architect to design UML diagram that will explain the detail of the process, activities, and entities involves in the system.
Scenario 3• A new application that runs on web is required to enable engineers to perform analysis on fault and
disturbance records. The applications shall be able to download complete records automatically upon engineer click on the fault information display on the screen and shall be automatically display the wave signal captured in the recorded files. The application shall allow user to perform analysis such as fault identifications, fault locations, etc. Your team is required to design a UML diagram to describe the overall process or activities that will be implemented in the applications.
32
![Page 33: Introduction to UML](https://reader033.vdocument.in/reader033/viewer/2022051012/54563d86af79597b578b483f/html5/thumbnails/33.jpg)
References1. CDAC, ‘UML: An Introduction’. [online] Access from www.gtbit.org/downloads/oosesem6/oosesem6lnotes.ppt. Access
on 05th July 2012.2. Quatrani, Terry (Rational™). ‘Introduction to the Unified Modeling Language’. [online]. Access from
http://www.win.tue.nl/~mchaudro/up/swads/Rational%20UML%20introduction.pdf. Access on 05th July 2012.3. The Free Dictionary. ‘Modeling – Definition’. [online]. Access from http://www.thefreedictionary.com/modeling. Access
on 05th July 2012.4. Dictionary.com. ‘modeling’. [online]. Access from http://dictionary.reference.com/browse/modeling Access on 05th July
2012.5. TechTarget. ‘Data Modeling’. [online]. Access from http://searchdatamanagement.techtarget.com
/definition/data-modeling. Access on 05th July 2012.6. Ambler, Scott, W. ‘UML 2 Use Case Diagrams’. [online]. Access from
http://www.agilemodeling.com/artifacts/useCaseDiagram.htm. Access on 07th July 2012.7. OMG. ‘UML Resource Page’. [online]. Access from http://www.uml.org/. Access on 07th July 2012.8. Wikipedia. ‘Unified Modeling Language’. [online]. Access from http://en.wikipedia.org/wiki/Unified_Modeling_Language.
Access on 07th July 2012.9. IBM. ‘UML Basic: An introduction to the Unified Modeling Language’. [online]. Access from
http://www.ibm.com/developerworks/rational/library/769.html/. Access on 07th July 2012.10. UML-Diagram.org. ‘ UML 2.4 Diagrams Overview’. [online]. Access from http://www.uml-diagrams.org/uml-24-
diagrams.html. Access on 08th July 2012.11. Silva, Nishadha. ‘The Complete Guide to UML Diagram Types with Examples’. [online]. Access from http://creately.com
/blog/diagrams/uml-diagram-types-examples/. Access on 08th July 2012.12. SPARX Systems. ‘UML 2 Tutorial’. [online]. Access from http://www.sparxsystems.com/resources/uml2_tutorial/. Access
on 08th July 2012.
33