Copyright © 2013 Curt Hill UML Unified Modeling Language.

Slides:



Advertisements
Similar presentations
UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
Advertisements

A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
CS3773 Software Engineering Lecture 03 UML Use Cases.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
UML: Unified Modeling Language
Unified Modeling Language (UML) Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
1 Info 1409 Systems Analysis & Design Module Lecture 8 – Modelling tools and techniques HND Year /9 De Montfort University.
Unified Modeling Language
Unified Modeling Language(UML) BY
What is UML? What is UP? [Arlow and Neustadt, 2005] January 23, 2014
2Object-Oriented Analysis and Design with the Unified Process Objectives  Explain the purpose and various phases of the traditional systems development.
Introduction to UML 1 Quick Tour Why do we model? What is the UML? Foundation elements Unifying concepts Language architecture Relation to other OMG technologies.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Introduction to UML By: Prof. Aiman Hanna Department of Computer Science, Concordia University, Montreal, Canada.
Unified Modeling Language, Version 2.0
1 SYS366 Lecture Visual Modeling and Business Use Case Diagrams.
Lecture 3: Visual Modeling & UML 1. 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship via “ Modeling.
Software development process ธนวัฒน์ แซ่ เอียบ. The development process Process –set of rules which define how a development project. Methodology and.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
16 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 7 Unified Modeling Language.
2 2009/10 Object Oriented Technology 1 Topic 2: Introduction to Object-Oriented Approach Reference: u Ch.16 Current Trends in System Development (Satzinger:
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
1 The Unified Modeling Language. 2 The Unified Modeling Language (UML) is a standard language for writing software blueprints. The UML may be used to.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
SWT - Diagrammatics Lecture 4/4 - Diagramming in OO Software Development - partB 4-May-2000.
Michael Schloh von Bennewitz 1. Oktober 2002 The Unified Modeling Language Overview of theory and practice of the OMG Unified Modeling.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
Chapter 3: Introducing the UML
CSCI 3428: Software Engineering Tami Meredith UML Unified Modeling Language.
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
Basic Characteristics of Object-Oriented Systems
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
1 An Overview of UML. 2 The Unified Modeling Language UML is a graphical language used by software engineers to model software systems during development.
UML (Unified Modeling Language)
Use Cases UML. Use Cases What are Use Cases?  A statement of the functionality users expect and need, organized by functional units  Different from.
Introduction to UML.
UML Diagrams By Daniel Damaris Novarianto S..
Evolution of UML.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Introduction to the Unified Modeling Language
What is UML? What is UP? [Arlow and Neustadt, 2005] October 5, 2017
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
Introduction to Object Oriented Analysis, Design and Unified Modeling Language (UML) Shanika Karunasekera.
The Unified Modeling Language
Unified Modeling Language
CIS 375 Bruce R. Maxim UM-Dearborn
Introduction to the Unified Modeling Language
Software Design Lecture : 15.
Software Design Lecture : 14.
Software Design Methodologies and Testing
CIS 375 Bruce R. Maxim UM-Dearborn
Presentation transcript:

Copyright © 2013 Curt Hill UML Unified Modeling Language

History Developed in the 1990s to visually model object oriented systems –Grady Booch, Ivar Jacobson, Jim Rumbaugh Adopted by Object Management Group (the real OMG) in 1997 –They are the maintainers ISO standard in 2000 Combines data, business, object and component modeling Current version is 2.4 Copyright © 2013 Curt Hill

Related Visualizations Entity Relation Diagrams Rummler-Brache (swimlane) diagrams –Derived from flow charts Gane-Sarson (data flow diagrams) The Unified of UML shows that these were incorporated or modified Copyright © 2013 Curt Hill

OMG Specification The Unified Modeling Language (UML) is a graphical language for visualizing, specifying, constructing, and documenting the artifacts of a software- intensive system. The UML offers a standard way to write a system's blueprints, including conceptual things such as business processes and system functions as well as concrete things such as programming language statements, database schemas, and reusable software components Copyright © 2013 Curt Hill

What is UML It is a graphics language –More of a specification of a language Use to define a system Describe the components of that system Blueprint for the system Does not define methodology, but supports any methodology Defines syntax and semantics for a variety of domains Copyright © 2013 Curt Hill

Domains Six major domains Use case model –The interaction between a user and the system Communication model –How components within the system interact Dynamic model –The states the system will pass through in order to accomplish work Copyright © 2013 Curt Hill

More domains Logical model –System’s classes and objects Component model –The system’s software –Hardware used if unusual Physical Deployment model –Hardware architecture –How applications are deployed on this hardware Copyright © 2013 Curt Hill

Diagrams Classify UML diagrams into two basic types Behavioral –Describes dynamic interactions Structural –Describes static architecture Interaction Copyright © 2013 Curt Hill

Reference Chart Copyright © 2013 Curt Hill

Use Case Diagram Diagrams an interaction between a user and the system A scenario is a single interaction between a user and the system –Usually a text description of what will happen The use case diagram will often have many scenarios Copyright © 2013 Curt Hill

Contents People, internal or external, are depicted as stick figures Ovals represent the use case Lines connect the various actors Copyright © 2013 Curt Hill

Example Pharmacy Copyright © 2013 Curt Hill

State Chart Diagram An interaction with a component Has one start and one or more finish nodes Each box represents a state Each arrow a state transition Copyright © 2013 Curt Hill

Example Windows Login Has one start and one end state Two middle states –Entering login –Entering password The Enter or Tab changes state All other characters return to same state Copyright © 2013 Curt Hill

Example Windows Login Copyright © 2013 Curt Hill

Activity Diagram Modified flowchart Flow of activities between various items Each item has a column –Known as a swimlane The activity moves between the lanes as the pieces interact Shows dependence of the actions of these items Copyright © 2013 Curt Hill

Activity Diagrams Ovals or rectangles represent actions Diamond are decisions with multiple possible output actions or merges with multiple inputs Arrows are the flow Actions may fork, that is split into concurrent actions, or join concurrent actions Copyright © 2013 Curt Hill

Example: Buying Car Copyright © 2013 Curt Hill

Diagrams UML is not generally precise It is not usually compiled into code –Although may be in some cases Different places might have different conventions on the symbols used Diagrams may be generated with Microsoft Visio or many other applications Copyright © 2013 Curt Hill

Other Tools A number of software tools for UML may also be used that have more power Most of these favor one methodology or another Some features –Code generation from diagrams –Generate diagrams from code –Round trip engineering –Report generation –Collaboration on diagrams Copyright © 2013 Curt Hill

Usage The objects description is the heart of UML There are three views of how it should be used: Sketch Blueprint Language Copyright © 2013 Curt Hill

Sketch Least formal In sketch mode the objects are discussed in an informal session among the developers Often starts on a whiteboard When the design starts to finalize it makes it to paper Any good graphics program can make it: –Visio, paint or many others Copyright © 2013 Curt Hill

Blueprint A blueprint is an exact guide used for construction An experienced developer generates detailed blueprints A team of (less experienced) developers convert this to programming language This requires a specialized tool since this is a precise description Copyright © 2013 Curt Hill

Directions In both sketch and blueprint mode there are two directions one can go: –UML to Code –Code to UML The latter usually is done by a program that scans the code and generates the graphics Copyright © 2013 Curt Hill

Language If the generation of the UML is precise enough and the tools sufficient, then the diagrams may be compiled directly into machine language This requires well experienced developers and a very good (expensive) tool Only one direction in this case, the UML is the code Copyright © 2013 Curt Hill

Conclusion? Devised for software system design Has incorporated many different graph and diagram types Also used in Entrerprise Architecture to model the enterprise An exercise should follow You should install Visio, if it is not on your computer Copyright © 2013 Curt Hill