UML for database design1 Business analysis- Naiburg and Maksinchuk (UML for database design ) The first phase systems analysis. Identify business actors.

Slides:



Advertisements
Similar presentations
Week 2 The Object-Oriented Approach to Requirements
Advertisements

Chapters 7 & 9 System Scope
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Use Case Model. C-S 5462 Use case model describes what the user expects the system to do –functional requirements may describe only the functionalities.
Practical Business Modeling in the Unified Process Tom Morgan Software Architect, Fidelity National Information Services
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Introduction to Rational Rose 2000 Create Use Case Model Visual Modeling Text – Chapter 3 Original notes from Rational Software Corporation – 1998 Modified.
Chapter 7: The Object-Oriented Approach to Requirements
staffs.ac.uk Process Model. staffs.ac.uk Contents Provide definitions Explain the components and representations Introduce a step.
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling System Requirements:
Chapter 5 – System Modeling
BPMN By Hosein Bitaraf Software Engineering. Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Chapter 7 Structuring System Process Requirements
PHASE 2: SYSTEMS ANALYSIS
Interaction diagrams Sequence and collaboration diagrams.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Chapter 4 – Requirements Engineering Lecture 3 1Chapter 4 Requirements engineering.
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis activity Janice Regan,
UML-1 8. Capturing Requirements and Use Case Model.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
SYS466: Analysis and Design Using OO Models Domain Class Diagram.
An Introduction to the Unified Modeling Language
Carmen David, Senior BA Business Analysis Carmen David, Senior BA Business Analysis Foundation in Business Analysis Session 7 MODELLING REQUIREMENTS.
Modeling System Requirements: Events and Things. Objectives Explain the many reasons for creating information system models Describe three types of models.
1 Chapter 4 Analyzing End-to-End Business Processes.
Systems Analysis and Design in a Changing World, 6th Edition
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour UML Sequence Diagram.
COMP-350 Object-Oriented Analysis and Design Drawing System Sequence Diagrams Reference: Larman, Chapter 9.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
Domain Classes – Part 1.  Analyze Requirements as per Use Case Model  Domain Model (Conceptual Class Diagram)  Interaction (Sequence) Diagrams  System.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
 To explain why the context of a system should be modelled as part of the RE process  To describe behavioural modelling, data modelling and object modelling.
1 Using Rational Rose ® to construct UML diagrams.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
5 Chapter 5: Modeling Systems Requirements: Events and Things Systems Analysis and Design in a Changing World.
Chapter 5 – System Modeling
Copyright © 2014 Pearson Canada Inc.
Systems Analysis and Design in a Changing World, Fourth Edition
Activity Diagrams.
Welcome to M301 P2 Software Systems & their Development
UML Diagrams By Daniel Damaris Novarianto S..
Chapter 5 System modeling
Chapter 5 – System Modeling
Use Case Model.
Data Dictionaries ER Diagram.
UML Diagrams Jung Woo.
System Modeling Chapter 4
Activity Diagrams.
Week 12: Activity & Sequence Diagrams
Analysis models and design models
Seminar 2 Design of Informatics Systems
Appendix A Object-Oriented Analysis and Design
Chapter 4 System Modeling.
Presentation transcript:

UML for database design1 Business analysis- Naiburg and Maksinchuk (UML for database design ) The first phase systems analysis. Identify business actors and their roles prior to system use cases. Distinguish between –Business actors. –Actors. In ARGOUML these can be represented as stereotypes.

UML for database design2 Business Use case elements Distinguish between –Business use cases. –System Use cases. Activity diagrams are used to indicate the activities carried out by actors involved in use cases. At least one activity diagram per use case. Initial business models are built. Database designers can see required elements for databases.

UML for database design3 Business Use case symbols

UML for database design4 Build up a context of the system to be examined

UML for database design5 Look in side the context for activities Initial analysis of EAB reveals 30 use cases so W.A.V.E. some away. Does the use case describe What to do and not how? Is the use case described from the Actors point of view. Does the use case include Value for the actor. Is the flow of events an Entire business process.

UML for database design6 Business Use case model expanded.

UML for database design7 Activity Diagrams in EAB Used to explain the detailed interaction between the Actors and the use case. Describes one use case usually. Describes the sequence of activities contained within the use case. Graphical alternative to textual templates.

UML for database design8 EAB Activity example

UML for database design9 Identify Business Objects Differentiate between –Business actors. –Business workers. –Business entities. –These too can be defined using classes with stereotypes in ARGOUML. After all actors are special instances of classes. Inquirer Facility Manager Clinical Records Business object model for Respond to Inquiry business use case

UML for database design10 Representing Business Objects in ARGOUML and Rational Rose We use the class modelling element to represent the relationships between business objects. Create an ordinary class objects but set the stereotype to business entity or one of the others. To create the stereotype. Press the up arrow until you get to the model level in the hierarchy of model elements. You will recognise it by the menu bar. Then choose the add stereotype button. ARGOUML has a business, worker, and entity stereotype already.

UML for database design11 Representing Business Objects in ARGOUML and Rational Rose Once a stereotype is created then you can attach it to any class definition. Thus we can get the equivalent representation as shown. Note the attribute and operation compartments are hidden. The same effect can be achieved in rational rose. The relationship between objects is important from the point view of the database designer as it can indicate –Access to data object by certain entities (workers and actors) –Information which will need to be stored (business entities)

UML for database design12 Sequence diagrams and business objects Sequence diagram show the detailed interaction between objects. Can be used to show the interaction between business objects. From these diagrams we can gather new information for the object model.

UML for database design13 Example from EAB of business object model development From the following part of the Use Case model.

UML for database design14 Activity diagram for manage clinical records

UML for database design15 Sequence diagram for transfer records in

UML for database design16 Divulging further information about business models From sequence diagrams and activity diagrams we can get an indication elements of a business object model and their nature and relationships. For example from the sequence diagram we can see that there are two types of clinical records. We also see who has access to the clinical records. This is important for the database designer. From this information and a few more sequence diagrams we get a business object model for this part of the system.

UML for database design17 Business object model for manage clinical records ARGOUML Notation

UML for database design18 A complete Business object model for manage clinical records - book notation

UML for database design19 A complete business object model for manage clinical records ARGOUML Looking at further activities and sequence diagrams (see text book) we get a more complete picture.

UML for database design20 Stipulating roles of actors Again Use class generalisation (hierarchy) to represent roles of various actors with stereotypes. Only part Of Diagram show Here See text for Complete Diagrams.

UML for database design21 Stipulating roles of actors Book notation

UML for database design22 Why Business Model? Business practices and actors roles change when a computer system is introduced. Interaction between different types of actors gives an initial object model, which can be used for both –database design –class diagrams. Preloads system use case diagrams. A lot of the time there will be little difference between business and system use case models, if the business practices are initially well structured (although the role of some individuals might still change.

UML for database design23 Moving to the System Model All business modelling elements must be included in the system model. We look at all the models developed –Business use case model. –Activity diagrams and use case templates if available. –Sequence diagrams. –Business object model In the Business ModelIn the System Model Business use CasesBecomeSubsystems Business ActorsBecomeActors Business workersBecomeActors or Use Cases Business workers’ activities BecomeUse Cases

UML for database design24 Moving to the System Model We look to automate the activities of some of the business workers. We can do this by looking at the activity diagrams involving the business actors and combining activities carried out into a use case. We also want to carry over the external business actors to the system use case We also look at the Actor generalisations. –We use the generalised name on the system use case. –We look for overlap in the functions carried out by actors to come up with common use cases.

UML for database design25 System Use Case EAB By examining the various artefacts produced in the business analysis we come up with the following system diagram.

UML for database design26 EAB system Use case Assess Clinical Records sub-use case