UML The Unified Modelling Language. A way of drawing code overviews so that it's understood by any programmer. Usually part of a software development 'process'.

Slides:



Advertisements
Similar presentations
Programming for Geographical Information Analysis: Core Skills Lecture 5: Working with others’ code I: Inheritance.
Advertisements

Lecture Set 3E Introduction Basic Software Development Issues 1. Notes on Software Development 2. Intro to Software Development Tools 7/31/2008 2:43PM.
UML Class and Sequence Diagrams Violet Slides adapted from Marty Stepp, CSE 403, Winter 2012 CSE 403 Spring 2012 Anton Osobov.
Department of Computing
Chapter 15: System Modeling with UML
Design Patterns in Java Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Lecture 1 CS171: Game Design Studio 1I UC Santa Cruz School of Engineering 5 January 2010.
UML a crash course Alex Lo Brian Kiefer. Overview Classes Class Relationships Interfaces Objects States Worksheet.
Unified Modeling Language
Unified Modeling Language
The Unified Modeling Language (UML) Class Diagrams.
Relationships. In the Interaction diagrams, we began to look at how classes communicate with one another. Now, we'll focus on the relationships between.
 2008 Pearson Education, Inc. All rights reserved (Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements.
Progressive Disclosure Diagramming Techniques Haytham Siala Tel:
ITEC 370 Lecture 10 Design. Review Design –Why is it part of the process? –Who is the audience for design?
CSC 213 – Large Scale Programming Lecture 3: Object-Oriented Analysis.
Systems Analysis & Design 7 th Edition Chapter 5.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
1 Class Diagrams: Advanced Concepts. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are the most commonly used diagrams.
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
UML Class Diagrams 1 These lecture slides are copyright (C) Marty Stepp, They may not be rehosted, sold, or modified without expressed permission.
Design Jon Walker. More UML ● What is UML again?
Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
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.
1 AVCE ICT Unit 7 - Programming Session 8 – Documenting your programs.
CSE 219 Computer Science III UML. UML Diagrams UML - Unified Modeling Language UML diagrams are used to design object-oriented software systems –represent.
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 3: Introducing the UML
Object-Oriented Software Engineering Practical Software Development using UML and Java Modelling with Classes.
Design and implementation Chapter 7 – Lecture 1. Design and implementation Software design and implementation is the stage in the software engineering.
1 SWE Introduction to Software Engineering Lecture 14 – System Modeling.
Unified Modeling Language (UML)
Introduction to Unified Modeling Language (UML) By Rick Mercer with help from The Unified Modeling Language User Guide, Grady Booch, James Rumbaugh, Ivar.
1 Use Cases Object-Oriented Modeling and Design with UML (Second Edition) Blaha & Rumbaugh Sections 7.1, 8.1.
1 Advanced Computer Programming Software Modeling UML Copyright © Texas Education Agency, 2013.
Introduction to UML.
Agenda Warmup Lesson 4.5 (Program Design & Analysis)
Architectural Design Copyright © 2016 – Curt Hill
Unified Modeling Language Tutorial
Unified Modeling Language
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Interface, Subclass, and Abstract Class Review
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
Lecture on Design Phase and UML Class Diagrams
Introduction to Computers
University of Central Florida COP 3330 Object Oriented Programming
Activity Diagrams Activity diagrams describe the workflow behavior of a system.  The diagrams describe the state of activities by showing the sequence.
The Development of Information Systems Chapter 8 page 348+
Introduction to Unified Modeling Language (UML)
Systems Analysis Overview.
Software Engineering Lecture #11.
CIS 375 Bruce R. Maxim UM-Dearborn
Software Construction Lecture 2
Structural / Functional Site Diagramming
Agenda Warmup Lesson 4.5 (Program Design & Analysis)
Software Design Lecture : 14.
COMPUTATIONAL THINKING COMPUTATIONAL THINKING IN PROGRAMMING
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
Chapter 5.
Introduction to UML Sources:
CIS 375 Bruce R. Maxim UM-Dearborn
Object Oriented System Design Class Diagrams
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Presentation transcript:

UML The Unified Modelling Language. A way of drawing code overviews so that it's understood by any programmer. Usually part of a software development 'process'. UML is an overview. Once developers have seen your UML, they’ll look at your documentation (next lecture) for more information. Can be converted into raw code using some Computer Aided Software Engineering (CASE) tools. UML is not a replacement for documentation.

Why have an overview standard? In industry code tends to be part of much larger projects with multiple programmers working on it. Therefore we need standard overviews so that… We can see whether an application can be made and how many people we’ll need to work before we start coding. We can see where our code fits in when we start. We can see how to use other people’s objects. If you spontaneously combust, others can pick up your work easily.

Parts of UML There are several types of model in the UML. Which one you use, and how you look at it, will depend on what you’re trying to do. The secret is to use what’s useful. Types of diagram… Use Cases (What are the uses someone [or thing] may want from our software). Class Diagrams (What are the different relationships between Classes). Sequence Diagrams (What order does stuff happen in). State/Activity Diagrams (What are Classes like over time). Don’t get too hung up on using the whole specification.

The Class Diagram -/+/# = private/public/protected (all public in Python, though might use # for semi- protected variables) Diamond-line means Agent is dependent for its life on Model. There's one model and multiple Agents. Solid arrow is inheritance from a class/abstract class. Interfaces have dashed arrows and are written: <<Point>> Abstract classes are either light font or, more usually, italics. Variables at top, methods at bottom.

Activity Diagram Replacement for older flowcharts. Beginning and end marked by circles (end by a double circle). Diamonds for decisions. Parallel code marked by bars.