UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.

Slides:



Advertisements
Similar presentations
UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.
Advertisements

Use cases Use-cases are a scenario based technique in the UML which identify the actors in an interaction and which describe the interaction itself A set.
Use Case Diagrams Damian Gordon.
CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Use Case & Use Case Diagram
Chapter 4 - Object-Oriented Analysis and Design in a Nutshell1 Chapter 4 Object-Oriented Analysis and Design in a Nutshell.
A Brief Introduction. Acknowledgements  The material in this tutorial is based in part on: Concurrency: State Models & Java Programming, by Jeff Magee.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Object-Oriented Analysis and Design
Use-case Modeling.
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
SE 555 Software Requirements & Specification1 Use-Case Modeling: Overview and Context.
Sharif University of Technology1 Design and Use-case Realization Software Engineering Laboratory Fall 2006.
Use Case A use case specifies the behavior of a system or a part of a system and is a description of a set of sequences of actions, including variants,
1 CS 501 Spring 2002 CS 501: Software Engineering Lecture 16 Object Oriented Design I.
UML and Object Oriented Concepts
IS0514 Lecture Week 3 Use Case Modelling.
CSCI-383 Object-Oriented Programming & Design Lecture 9.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
Software Engineering Design & Modelling
Introduction to the Unified Modeling Language “The act of drawing a diagram does not constitute analysis or design. … Still, having a well-defined and.
Unified Modeling Language, Version 2.0
ECE450 - Software Engineering II1 ECE450 – Software Engineering II Today: An Aside: The Quickest Tour through the UML that you will ever get.
SWEN 5130 REQUIREMENTS ENGINEERING Unified Modeling Language Short Tutorial By Yuvaraj Mani Teaching Assistant SWEN 5130 Spring semester 2006.
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 Use Case 1 what are use cases? “A specification of sequences of actions, including variant.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 1: Introduction to Use-Case Modeling.
1 Use Case Diagrams Use Case Actor Use case description Use case realization (Scenario) Use case relationships –Extends –Uses.
UML Review of diagram types. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and.
1 Structuring Systems Requirements Use Case Description and Diagrams.
An Introduction to the Unified Modeling Language
Objects and Classes Abstract Classes and Interface Sanjaya Karunasena
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.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 16 - Use Cases Chapter 17 - Use Case Diagrams.
Software Engineering Lecture 8 Object-Oriented Analysis.
UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
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.
MADALINA CROITORU Software Engineering week 4 Practical Madalina Croitoru IUT Montpellier.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
Use Case Diagrams Lecture Oo14 Use Cases. References n Booch, et al, The Unified modeling Language User’s Guide, AWL, 1999, Chapt 16 & 17 n Fowler & Scott,
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
CS 501: Software Engineering Fall 1999 Lecture 15 Object-Oriented Design I.
Chapter 11 Inheritance © 2008 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. Marilyn Bohl/Maria Rynn Tools for Structured and Object-Oriented.
Use Case Diagrams-2. Relationships between Use Cases 2 1. Generalization - use cases that are specialized versions of other use cases. 2. Include - use.
Ondřej Přibyl Faculty of Transportation Sciences, CTU DESIGN OF ITS SYSTEMS Project support 1 3 PROJECT SUPPORT Use cases.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Embedded Systems Software Engineering
Unified Modeling Language (UML)
Using Use Case Diagrams
Use Case Modeling - II Lecture # 27.
Use cases, tests classes, …
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Introduction to the Unified Modeling Language
Object-Oriented Modeling with UML
Design (2).
Systems Analysis and Design With UML 2
Introduction to Unified Modeling Language (UML)
University of Central Florida COP 3330 Object Oriented Programming
UML Class Diagrams: Basic Concepts
The Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
UML: Unified Modeling Language
Introduction to the Unified Modeling Language
Using Use Case Diagrams
Presentation transcript:

UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson

UML: Use Cases – No system exists in isolation. Every system interacts with human or automated actors that use the system for some purpose, and those actors expect that system to behave in predictable ways. – A use case specifies the intended behavior of a system or of part of a system, without specifying how that behavior is implemented. – Reasoning about how the system will be used, helps to design a use case

Use Cases – A use case represents a functional requirement of a system. – A use case involves the interaction of actors and the system. An actor represents a coherent set of roles that users of use cases play when interacting with these use cases. – Actors can be human or automated systems. – Use cases can be applied to a whole system or to subsystems of it.

Use cases – A use case represente of a set of sequences of actions, that a system performs to yield an observable result to an actor. Every use case is rendered as an ellipse and has a unique name. – You can specify the behavior of a use case by describing a flow of events in text. – An actor represents a role that users of use cases play when interacting with these use cases. – You can define general kind of actors and specialize them using generalization relationships. – Actors may be connected to use cases by association.

Use cases Acto r generalizatio n Acto r Use case association

Use cases – You can organize use cases by specifying generalization, include and extend relationships among them. – You apply these relationships in order to factor common behavior and in order to factor variants.

Use cases – Generalization among use cases is just like generalization among classes. – Here it means that: ● the child use case inherits the behavior and meaning of the parent use case ● the child may add to or override the behavior of its parents ● The child may substitute any place the parent appears

Use Cases – An include relationship between use cases means that the base use case explicitly incorporates the behavior of another use case. – The included use case never stands alone. – You use an include relationship to avoid describing the same flow of events several times, by putting the common behavior in a use case of its own. – You render an include relationship as a dependency, stereotyped as >.

Use cases: include relationship Aceder ao parque de estacioname nto Validar identificação do utente > Aceder à biblioteca >

Use Cases – An extend relationship between use cases means that the base use case implicitly incorporates the behavior of another use case. The base use case may stand alone, but under certain conditions, its behavior may be extended by the behavior of another use case. – You use an extend relationship to model the part of a use case the user may see as optional system behavior, or to model a subflow that is executed only under given conditions. – Extend relationships are rendered as dependencies, stereotyped as >.

Use cases: extend relationship Devolver Livro Danificado >

Use cases: library case study Utente Bibliotecário Devolver livro Requisitar livro Renovar requisição

Casos de uso de uma Biblioteca Requisição publicação Req. livro Req. revista Req. public. Restrita Renovar req. public. Devolver publicação Dev.public. e pagar dívida > Verificar ident. Utente > Utente Bibliotecario