A short introduction to UML Eivind J. Nordby Karlstad University

Slides:



Advertisements
Similar presentations
UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Advertisements

Improved software quality through semantic descriptions (Skutt) Karlstad University Dept. of Computer Science UML introduction A short introduction.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
UML – Class Diagrams.
IMSE 11 - UML Class Diagrams
Unified Modeling Language
Unified Modeling Language(UML) BY
The Unified Modeling Language (UML) Class Diagrams.
CSCI-383 Object-Oriented Programming & Design Lecture 9.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
The Software Development Life Cycle: An Overview Presented by Maxwell Drew and Dan Kaiser Southwest State University Computer Science Program.
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
Presented by: CHAN LAI SAN ( ) REBAH DAW SARREB ( ) FIDA AL-OBAISI ( ) 08 April 2008 (Tuesday 6pm – 7:30pm)
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
UML What Is the UML? The Unified Modeling Language (UML) is the successor to the wave of object- oriented analysis and design (OOA&D) methods.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
UML Diagrams A tool for presentation of Architecture.
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
An Introduction to the Unified Modeling Language
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Design? !… When it needs? To understand, to communicate with customers Complex problem What is good design? Separate What to do?(Policy) and How to do(mechanism)
CSE 403, Spring 2008, Alverson Using UML to express Software Architecture.
CSE 403, Spring 2007, Alverson Using UML to express Software Architecture.
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)
UML Part 1: Class Diagrams. Introduction UML stands for Unified Modeling Language. It represents a unification of the concepts and notations presented.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
Introduction to UML Hazleen Aris Software Eng. Dept., College of IT, UNITEN. …Unified Modeling Language.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
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,
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
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.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Modeling with UML – Class Diagrams
UML(Unified Modeling Language)
UML Diagrams By Daniel Damaris Novarianto S..
Evolution of UML.
Main issues: • What do we want to build • How do we write this down
Object-Oriented Analysis and Design
Class Diagrams.
Systems Analysis and Design With UML 2
Introduction to Unified Modeling Language (UML)
Introduction to Unified Modeling Language (UML)
Systems Analysis and Design With UML 2
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
UML PPt by: Hong Qing Yu.
A tool for presentation of Architecture
A tool for presentation of Architecture
Introduction to Unified Modeling Language (UML)
Introduction to UML Introduction to UML Shiyuan Jin September,23,2002
ניתוח מערכות מידע א' הרצאה 3
Software Engineering Lecture #11.
Systems Analysis and Design With UML 2
Introduction to Unified Modeling Language (UML)
Introduction to UML.
IMPORTANT NOTICE TO STUDENTS:
Understand and Use Object Oriented Methods
Software Design Lecture : 15.
Copyright 2007 Oxford Consulting, Ltd
CIS 375 Bruce R. Maxim UM-Dearborn
2 UML for OOAD 2.1 What is UML? 2.2 Classes in UML
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
ITEC324 Principle of CS III
Presentation transcript:

A short introduction to UML Eivind J. Nordby Karlstad University UML introduction A short introduction to UML Eivind J. Nordby Karlstad University 2000-05-09

Design Problem Complex systems cannot be understood without modelling Modelling makes design reproductable Modelling is documentation => Generic Language for this Problem Unified Modeling Language (UML) Standard of the OMG Current Version 1.4 (since Sep. 2001) Inventors: Jacobson, Rumbaugh, Booch. Goal: Giving developer a general language for communication Semla 2 page 2

UML Static Modelling Dynamic Modelling UML is a graphical language Unified Modeling Language UML provides a notation to describe software-intensive systems in an object-oriented way Is general enough to describe nonsoftware systems Static Modelling Class Modelling Component Modelling Deployment Modelling Dynamic Modelling Activity/Sequence Modelling Use Case Modelling State Modelling Semla 2 page 3

An example A booking system for room reservation The initiator tell who shall take part in the meeting The system calls the participants by email The participants reply confirm by email When all have confirmed, the system sends an email to the initiator Support personnel are also notified Cleaning, catering, secretaries, caretaker Semla 2 page 4

Classes and objects Static description Part 1 Classes and objects Static description 2000-05-09

Basic class description A class is drawn as a box with compartments for class name attributes operations Any but the first can be empty or suppressed Semla 2 page 6

Inheritance Inheritance A connection with an open triangle in the direction to the base class Abstract classes and operations Italic class name Italic operation name Semla 2 page 7

Associations Analysis diagram Multiplicities 0..1, 1, *, 1..* Semla 2 page 8

Associations Association label a verb describing the interaction Interpretation of multiplicity Referencial integrity Semla 2 page 9

Object diagram and links Class diagrams show the general structure with Object diagrams show snapshots objects are underlined An association is a potential for a link links are instances of associations Links do never have multilplicities Semla 2 page 10

Role names Role label a noun describing the role in the interaction Semla 2 page 11

Aggregations Aggregation a crew is composed of crew members expresses whole - parts Composition a person owns a PID number expresses exclusive ownership and dependency Semla 2 page 12

Navigability Analysis expresses relationships Design diagram also expresses navigability Part of the implementation design of “who keeps track of who” Semla 2 page 13

Interactions Dynamic description Part 2 Interactions Dynamic description 2000-05-09

Interactions Semla 2 page 15

Interactions Semla 2 page 16

Interactions Sequence diagram Time based Life line Call, operation, return Activation record Recursive calls New and delete Semla 2 page 17

Interactions, new and delete Semla 2 page 18