UML REVIEW –PART1 1. Introduction What is UML visual modelling language UML is a language not a methodology? Q: why is this distinction important? UML.

Slides:



Advertisements
Similar presentations
Use Case Diagrams Damian Gordon.
Advertisements

Use Case & Use Case Diagram
Karolina Muszyńska Based on:
Unified Modeling Language
Use Case Diagrams - UML (Thanks to Helen Albanese for the starting point for this brief presentation)
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
SwE 313 Case Study Registration System.
Entity Relationship Diagrams Don Archer. Entity Relationship Diagram  ERDs – depicts data in terms of the entities and relationships described by the.
C++ Training Datascope Lawrence D’Antonio Lecture 11 UML.
1/31 CS 426 Senior Projects Chapter 1: What is UML? Chapter 2: What is UP? [Arlow and Neustadt, 2005] January 22, 2009.
1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2005] February 5, 2009.
03/12/2001 © Bennett, McRobb and Farmer Use Case Diagrams Based on Chapter 6 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
1 CS 426 Senior Projects Chapter 1: What is UML? Chapter 2: What is UP? [Arlow and Neustadt, 2002] January 26, 2006.
1 Business Models Modeling. 2 Why Model the Business Business modeling is a technique to help answer critical questions, such as: What do the workers.
Use Case Diagram.
Unified Modeling Language
Chapter 7 Structuring System Process Requirements
IS0514 Lecture Week 3 Use Case Modelling.
Use Case Analysis From soft systems methodology to understanding the system functionality.
1.  Modeling the context of a system  Modeling the requirements of a system 2.
What is UML? What is UP? [Arlow and Neustadt, 2005] January 23, 2014
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Page 1 What is the UML? UML stands for Unified Modeling Language The UML combines the best of the best from – Data Modeling concepts (Entity Relationship.
Business Requirements Using Unified Modeling Language Eric H. Castain, SVP Internet Services Group, Architecture Wells Fargo March 2005.
Chapter 7 Structuring System Process Requirements
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
Page 1  Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship via “ Modeling captures essential parts of.
Faculty of Computer & Information Software Engineering Third year
Requirements Analysis Visual Modeling] Lab 02 Visual Modeling (from Visual Modeling with Rational Rose and UML) A way of thinking about problems using.
Faculty of Computer & Information
Chapter 5 Models and UML Notation for The Object-Oriented Approach.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
UML Class Diagram Trisha Cummings. What we will be covering What is a Class Diagram? Essential Elements of a UML Class Diagram UML Packages Logical Distribution.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
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.
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 16 - Use Cases Chapter 17 - Use Case Diagrams.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
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.
Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
UML - Development Process 1 Software Development Process Using UML.
CS223: Software Engineering
Introduction to UML Hazleen Aris Software Eng. Dept., College of IT, UNITEN. …Unified Modeling Language.
© 2005 by Prentice Hall Chapter 7 Structuring System Process Requirements Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
ACO 101: Use cases What do the users do?. When building a system You begin with the Use Case Analysis – When looking at the system as a whole, Use Case.
CHAPTER 6 OBJECT ANALYSIS.
UML (Unified Modeling Language)
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Using Use Case Diagrams
Object-Oriented Analysis and Design
Architecture Concept Documents
Unified Modeling Language
Business Models Modeling.
Introduction to Unified Modeling Language (UML)
UML Use Case Diagrams.
Use Case Modeling.
The Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
IS0514 Lecture Week 3 Use Case Modelling.
Software Design Lecture : 15.
Using Use Case Diagrams
Presentation transcript:

UML REVIEW –PART1 1

Introduction What is UML visual modelling language UML is a language not a methodology? Q: why is this distinction important? UML Model repository of all things and relationships 2

Building Blocks Things Things are the nouns of a UML model Three types structural things: nouns (class, interface, use case etc.) behaviour things: verbs (interactions, activities etc.) grouping things: package annotational things: note 3

Building Blocks Relationships representation of how things relate to each other adds semantics to connections between entities 4

Example 5

Building Blocks Types of UML Diagrams that represent static model things the structural relationship between things represent dynamic behaviour how things interact to generate the required functionality 6

Building Blocks UML Model graphical for visualization specifications provide meaning to the visual components 7

Building Blocks Extensibility Mechanisms stereotypes allow defining new modelling elements based on existing must define the semantics of the new elements or else the new model is just a picture usually attach a note to the new element 8

9

Use Case Modelling - Components system/boundary defines internal (system) & external parts actors a role that an external entity adopts when interacting with the systems flows main & alternative flows 10

Actors 11

Actors Identifying Actors consider who or what uses/interacts with your system Use Roles not Individuals assuming a set of customers {Jim, Mike, Helen} Q: who/what should be the actor here? Other things as actors Q: what about time as an actor? e.g. scheduled tasks 12

Use Case Definition “A specification of sequence of actions, including variant sequences and error sequences, that a system, subsystem or class can perform by interacting with the with outside actors” - UML Reference Manual, 2nd Edition-2004 A use case defines system behaviour during interactions with the actors 13

Use Case Diagram Example 14

Actor Generalization 15

Example: Use Case Generalization 16

Use Case Specification 17

Use Case «include» 18

Use Case «extend» provides a mechanism to insert new behaviour into existing (base) use case base use case provides extension points (hooks) extension use case provides a set of insertion segments 19

Use Case «extend» 20

Use Case «extend» Rules «extend» relationship must identify one or more extension points in the base use case otherwise the relationship refers to all extension points extension use case must have the same number of insertion segments as there are extension points in the «extend» relationship it is legal for legal for two extension use cases to «extend» the same base use case at the same extension point 21

Conditional Extensions 22

Use Case Example 23

Functional Decomposition what is functional decomposition? 24

Functional Decomposition Observations focus on capturing the requirements it is not object design the higher level use cases might not be of interest model is complicated usually indicates that the analyst is viewing the system in a procedural way rather the OO paradigm Verdict bad 25

Use Case & Requirements Tracing Purpose link requirements to use cases many-to-many relationship Requirement Tracing Matrix validate consistency missing use cases missing requirements 26

Summary 27

Tutorial 1 Draw a use case diagram for this system. courses are taught by instructors, while registrars can enroll or remove students from a course. Students take a course, provided they are enrolled in it. 28

Tutorial 1 29

Tutorial 2 A student may register for classes during a specified registration period. To register, a student must see their advisor. The advisor must approve each course that the student has selected. The advisor will use the registration system to determine if the student has met the course prerequisites, is in good academic standings and is eligible to register. If the advisor approves the courses, the advisor enters the student's college id into the course registration system. The course registration number for each course is entered. The course description, course number and section for those courses will automatically display. The system will check for schedule conflicts before saving the registrations. A bill for the courses will print in the Bursar's office. The student should proceed to pick it up. Faculty can use the registration system to check enrollments in their classes, get a class list, check a student's transcript, look up a student's phone number and other such student information. The registrar can use the registration system to enter new classes for an up coming semester, cancel a class, and check conflicts in classroom/faculty assignments. Admissions use the registration system to add new students. Enrollment services use the registration system to report on retention, update student information, and check fulfillment of graduation requirements for those students planning to graduate 30

31