SWE 214 (071) Introduction to UML Slide 1 Introduction to UML.

Slides:



Advertisements
Similar presentations
7M701 1 Information Systems Modelling and Design with.
Advertisements

Chapter 4 - Object-Oriented Analysis and Design in a Nutshell1 Chapter 4 Object-Oriented Analysis and Design in a Nutshell.
Unnat-e Infotech 1 Object Oriented Concepts Introduction.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
UML: An Introduction.
Introduction to UML. Acknowledgements Slides material are taken from different sources including: Slides material are taken from different sources including:
1 SWE Introduction to Software Engineering Lecture 23 – Architectural Design (Chapter 13)
Object-Oriented Database SystemsCSCI 397C-16 Unified Modeling Language (UML) Prepared By: Keith Bryant 02 Nov 99 - Page 1.
Principles of Object-Oriented Software Development Unified Modeling Language.
Introduction to UML Visual modeling Models and its importance
7M822 UML Introduction 7 September 2010.
Kari R. Schougaard, PhD Stud. Værktøjer og Teknikker, 2006 UNIVERSITY OF AARHUS Department of Computer Science Unified Modeling Language Visual language.
Itntroduction to UML, page 1 Introduction to UML.
UML and Object Oriented Concepts
Unified Modeling Language(UML) BY
An Introduction to Models & The UML The Unified Modeling Language Copyright © 2007 Patrick McDermott College of Alameda Not really.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Introduction to UML by Jan Pettersen Nytun, page 1 Introduction to UML.
Introduction to UML By: Prof. Aiman Hanna Department of Computer Science, Concordia University, Montreal, Canada.
Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,
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.
Lecture 7 Object Oriented Design. Outline  What is UML and why we use UML?  How to use UML diagrams to design software system?  What UML Modeling tools.
Object-Oriented Analysis and Design An Introduction.
Software development process ธนวัฒน์ แซ่ เอียบ. The development process Process –set of rules which define how a development project. Methodology and.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
9/01RUT1 NASA OSMA SAS '01 R equirements U se case T ool James R. McCoy SRS Information Services NASA Software Assurance Technology Center
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
1 UML Distilled 3e by Martin Fowler Chapter 1 Introduction to UML.
1 COMP 350: Object Oriented Analysis and Design Lecture 1Introduction References: Craig Larman Chapter 1.
CS-2852 Data Structures LECTURE 3B Andrew J. Wozniewicz Image copyright © 2010 andyjphoto.com.
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
1 Introduction to UML. 2 What is UML? UML is an acronym for Unified Modeling Language. Unified –Combines the best from existing object- oriented software.
 What is Modeling What is Modeling  Why do we Model Why do we Model  Models in OMT Models in OMT  Principles of Modeling Principles of Modeling 
2 2009/10 Object Oriented Technology 1 Topic 2: Introduction to Object-Oriented Approach Reference: u Ch.16 Current Trends in System Development (Satzinger:
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
The Unified Modeling Language (UML)
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 1: Introduction.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
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.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Unified OO becomes commonly used in the late 1980s Various analysis and design methods The “three amigos” join forces in Rational Software Also include.
Copyright (C), No Magic, Inc Welcome to No Magic!
Introduction to UML Created By: Ajay Bahoriya. Acknowledgements Slides material are taken from different sources including: Slides material are taken.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
1 SYS366 Week 2 - Lecture 2 Visual Modeling & UML.
Basic Characteristics of Object-Oriented Systems
Distributed Java Programming Distributed Java Programming Class #1 August 20, 2002.
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.
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
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.
Introduction to UML Mohammad Zubair Ahmad Summer 2007.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Introduction to UML.
Introduction to UML Majid Ali Khan Spring 2005 Introduce myself.
Evolution of UML.
Object-Oriented Techniques
Systems Analysis and Design With UML 2
Introduction to Unified Modeling Language (UML)
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
Introduction to Object Oriented Analysis, Design and Unified Modeling Language (UML) Shanika Karunasekera.
Introduction to UML.
Introduction to UML Introduction to UML Shiyuan Jin September,23,2002
Introduction to UML.
Presentation transcript:

SWE 214 (071) Introduction to UML Slide 1 Introduction to UML

SWE 214 (071) Introduction to UML Slide 2 Overview l What is Modeling? l What is UML? l A brief history of UML l Understanding the basics of UML l UML diagrams l UML Modeling tools

SWE 214 (071) Introduction to UML Slide 3 Modeling l Models are abstractions that portray the essentials of a complex problem or structure by filtering out nonessential details. l Describing a system at a high level of abstraction A model of the system Used for requirements and specifications l Models help us organize, visualize, understand, and create complex things. l Is it necessary to model software systems?

SWE 214 (071) Introduction to UML Slide 4 What is Visual Modeling? l Visual modeling is a way of thinking about problems using models organized around real-world ideas. l Models are useful for Understanding problems Communicating with everyone involved with the project (customer, domain expert, analyst, designers, etc.) Modeling enterprises Preparing documentation Designing programs and databases

SWE 214 (071) Introduction to UML Slide 5 Object Oriented Modeling

SWE 214 (071) Introduction to UML Slide 6 What is UML? l UML stands for “Unified Modeling Language” l It is an industry-standard graphical language for specifying, visualizing, constructing, and documenting the artifacts of an object-oriented system under development. l The UML uses mostly graphical notations to express the OO analysis and design of software projects. l Simplifies the complex process of software design

SWE 214 (071) Introduction to UML Slide 7 Why UML for Modeling l Use graphical notation to communicate more clearly than natural language (imprecise) and code(too detailed). l Help acquire an overall view of a system. l UML is not dependent on any one language or technology. l UML moves us from fragmentation to standardization.

SWE 214 (071) Introduction to UML Slide 8 History of the UML l In 1990s, many different methodologies, along with their own set of notations, were introduced to the market Object Modeling Technique (OMT) (James Rumbaugh) Grady Booch Object-oriented software engineering (OOSE) (Ivar Jacobson) l Method war e.g. is a class a cloud or rectangle? l UML De facto standard

SWE 214 (071) Introduction to UML Slide 9

SWE 214 (071) Introduction to UML Slide 10 The Unified Modeling Language l Several different notations for describing object-oriented designs were proposed in the 1980s and 1990s. l The Unified Modelling Language is an integration of these notations. l It describes notations for a number of different models that may be produced during OO analysis and design. l It is now a de facto standard for OO modelling.

SWE 214 (071) Introduction to UML Slide 11 Object communication l Conceptually, objects communicate by message passing. l Messages The name of the service requested by the calling object; Copies of the information required to execute the service and the name of a holder for the result of the service. l In practice, messages are often implemented by procedure calls Name = procedure name; Information = parameter list.

SWE 214 (071) Introduction to UML Slide 12 UML Diagrams l Use case diagram l Sequence diagram l Collaboration diagram l State diagram l Class diagram l Object diagram l Component diagram l Deployment diagram l Activity diagram

SWE 214 (071) Introduction to UML Slide 13 Use Case Diagram l Used for describing a set of user scenarios l Mainly used for capturing user requirements l Work like a contract between end user and software developers

SWE 214 (071) Introduction to UML Slide 14 Use Case Diagram

SWE 214 (071) Introduction to UML Slide 15 Class diagram l Used for describing structure and behavior in the use cases l Provide a conceptual model of the system in terms of entities and their relationships l Used for requirement capture, end-user interaction l Detailed class diagrams are used for developers

SWE 214 (071) Introduction to UML Slide 16 Class diagram

SWE 214 (071) Introduction to UML Slide 17 Good Practice: CRC Card (Class Responsibility Collaborator) l Benefits: It is easy to describe how classes work by moving cards around; allows to quickly consider alternatives.

SWE 214 (071) Introduction to UML Slide 18 Sequence diagram l Sequence diagrams demonstrate the behavior of objects in a use case by describing the objects and the messages they pass. l The horizontal dimension shows the objects participating in the interaction. l The vertical arrangement of messages indicates their order.

SWE 214 (071) Introduction to UML Slide 19 Sequence diagram

SWE 214 (071) Introduction to UML Slide 20 State diagram State Diagrams show the sequences of states an object goes through during its life cycle in response to stimuli, together with its responses and actions; an abstraction of all possible behaviors.

SWE 214 (071) Introduction to UML Slide 21 UML Modeling Tools l Rational Rose ( by IBMwww.rational.com l TogetherSoft Control Center, Borland ( l ArgoUML (free software) ( ) l OpenSource; written in java l Others ( pany.html ) pany.html

SWE 214 (071) Introduction to UML Slide 22 Reference 1. UML Distilled: A Brief Guide to the Standard Object Modeling Language Martin Fowler, Kendall ScottMartin FowlerKendall Scott 2. IBM Rational ibm.com/software/rational/uml/ 306.ibm.com/software/rational/uml/ 3. Practical UML --- A Hands-On Introduction for Developers inecourse/ 4. Software Engineering Principles and Practice. Second Edition; Hans van Vliet.