introduction to uml

Post on 02-Nov-2014

996 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

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

Training on UML and using Enterprise Architect

(Basic UML and EA)

by: Nurul Haszeli AhmadMatrix Power Network Sdn.Bhd

30 July 2012

Introduction to UML

Q & A

UML Methods and Process

Using EA to Design UML

Practical

Introduction to UML

Q & A

UML Methods and Process

Using EA to Design UML

Practical

Modeling

4

Why Modeling?

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

The History

6

The Story begins ….

James RumbaughIvar JacobsonGrady Booch

OMG

The Time Series

7

Introduction to UML

Q & A

UML Methods and Process

Using EA to Design UML

Practical

9

UML

Listed in Modeling and

Metadata Specifications

Latest version is 2.4.1 (August

2011)

14 sets of diagrams

http://www.uml.org/

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

Structural Diagram

1. Class Diagram2. Component Diagram3. Object Diagram4. Profile Diagram5. Composite Structure Diagram6. Package Diagram7. Deployment Diagram

11

Class Diagram

12

Component Diagram

13

Object Diagram

14

Profile Diagram

15

Composite Structure Diagram

16

Package Diagram

17

Deployment Diagram

18

Implementation/Manifestation of components by artifactsSpecification level deployment diagramInstance level deployment diagramNetwork architecture of the system

Behavior Diagram

• Describe the events in the system• Shows interactions of elements• 3 types of diagrams:

– Use Case– Activity– State Machine

19

Use Case Diagram

20

Activity Diagram

21

State Machine Diagram

22

Behavioral State DiagramProtocol State Diagram

Interaction Diagram

• Subset of Behavior• 4 types of diagram

– Sequence– Communication – Interaction

Overview– Timing

23

Sequence Diagram

24

Communication Diagram

25

Interaction Overview Diagram

26

Timing Diagram

27

28

Which Diagram to used?

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

Introduction to UML

Q & A

UML Methods and Process

Using EA to Design UML

Practical

Introduction to UML

Q & A

UML Methods and Process

Using EA to Design UML

Practical

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

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

Thank you.Thank you.Nurul Haszeli Ahmad

masteramuk@yahoo.comhttp://malaysiandeveloper.blogspot.com

top related