Requirements Analysis 12. 1 Classes & Associations - 2005b510.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.

Slides:



Advertisements
Similar presentations
Database Design The process of finding user requirement
Advertisements

Requirements Analysis Moving to Design b521.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
COMP1007 Introduction to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Requirements Analysis.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12Slide 1 Software Design l Objectives To explain how a software design may be represented.
Chapters 7 & 9 System Scope
Analysis Modeling.
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
Requirements Analysis SDM b518.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Systems Development.
SE 555 Software Requirements & Specification1 Use-Case Modeling: Overview and Context.
COMP1007 Intro to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Intro to Requirements Analysis Object Oriented.
Requirements Analysis 8. 1 Storyboarding b508.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Human.
Intro to Systems Requirements COMP1007 © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Systems Requirements Use-Cases.
Slide 1 Systems Analysis & Design CS183 Spring Semester 2008 Dr. Jonathan Y. Clark Course Website:
Slide 1 Systems Analysis & Design CS183 Spring Semester 2008 Dr. Jonathan Y. Clark Course Website:
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Requirements Analysis 5. 1 CASE b505.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis CASE Computer.
Requirements Analysis 1. 1 Introduction b514.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Objects,
Requirements Analysis The OPEN Methodology b519.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
Requirements Analysis 15.1 Specialised Associations b515.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
7M701 1 Class Diagram advanced concepts. 7M701 2 Characteristics of Object Oriented Design (OOD) objectData and operations (functions) are combined 
COMP1007 Intro to Systems Requirements © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Intro to System Requirements Lecture 2 Use-Cases.
COMP1007 Intro to Systems Requirements © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Intro to Systems Requirements Lecture 4 Identifying.
Requirements Analysis 9. 1 OO Concepts b509.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Object.
Requirements Analysis 2 What objects collaborate to achieve the goal of a use case?
Requirements Analysis 4. 1 Use Case I b504.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Use-Cases.
© Copyright Eliyahu Brutman Programming Techniques Course.
Requirements Analysis 2. 1 Req. Capture b502.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Requirements.
7M822 UML Class Diagrams advanced concepts 15 September 2008.
Requirements Analysis Activity Diagrams b511.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
Use Case Analysis – continued
COMP1007 Intro to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Requirements Analysis Lecture.
1 © Bennett, McRobb and Farmer 2002, and De Montfort University 2002 Systems Development Methodologies Based on Chapter 22 of Bennett, McRobb and Farmer:
Object Oriented Analysis and Design Using the UML
PRJ566: PROJECT PLANNING AND MANAGEMENT Class Diagrams.
Object-Oriented Analysis and Design
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
ZEIT2301 Design of Information Systems Structural Design: Class Diagrams School of Engineering and Information Technology Dr Kathryn Merrick.
Methods for OO Development USDP and DSDM. 2 Outline Characteristics of OO development USDP UML and DSDM.
Changing Perspective From Structured to Object-oriented.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Executable UML The Models are the Code - Executable UML Lecture 3 - Modelling with Domains and Classes Paul Krause.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
CSC 395 – Software Engineering Lecture 13: Object-Oriented Analysis –or– Let the Pain Begin (At Least I’m Honest!)
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Developed by Reneta Barneva, SUNY Fredonia for CSIT 425 Requirements Modeling.
Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
Static Modeling Chapter 8 Part of Requirements Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
CSC480 Software Engineering Lecture 8-9 September 20, 2002.
Keys for Relationship Sets The combination of primary keys of the participating entity sets forms a super key of a relationship set. – (customer-id, account-number)
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
Analysis Yaodong Bi. Introduction to Analysis Purposes of Analysis – Resolve issues related to interference, concurrency, and conflicts among use cases.
Class Diagrams Revisited. Parameterized Classes Parameterized Classes - are used to represent relationships between templates.
Data Modeling Using the Entity- Relationship (ER) Model
Entity- Relationship (ER) Model
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
Entity-Relationship Modelling
Entity-Relationship Modeling
Entity-Relationship Modelling
Copyright 2007 Oxford Consulting, Ltd
Presentation transcript:

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Analysis and Domain Object Models Department of Information Systems

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Learning Objectives v Define Analysis Model v Relate to Domain and Design Models v How to Develop a Domain Model v Relate to RUP Workflows and Actors

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved What is an Analysis Object Model? v Several types of object model v One distinction is between: –Analysis (requirements model) –Domain (business model) –Design (generic software model) –Implementation (specific software model) v These differ in level of abstraction and timing

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis Model “An object model describing the realisation of use cases... “...an abstraction of the Design Model... “...contains the results of use case analysis, instances of Analysis Class... “...an optional artefact” RUP, 2000

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis Model v In RUP (and most methodologies), a picture of requirements for a specific application: v Classically: WHAT the application must do, not HOW it will do it

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis Model v E.g: –The system will record student enrolments on modules; all such records will be persistent v Not: –A Java application will allow office staff to record student enrolments on modules –persistent storage will be provided by an Access relational DBMS

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis Modelling v Building an analysis model was introduced in an earlier lecture: v Either iterative ‘traditional’ approach v Or use case driven approach –Identify boundary, control, entity classes needed for each use case –Consolidate into analysis model for application as a whole

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis and Domain Models v In traditional iterative approach, analysis model may be: v For use case driven approach:

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Model v Purely conceptual model of business domain v Enduring characteristics, behaviour and relationships v Independent of specific applications v Common aspects of many applications v Note: RUP uses the related idea of ‘Business Model’

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Modelling v Several ways to build v Top-down model of business processes & relationships v If we know and understand the business, we can identify: –classes –their data –their behaviour

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Modelling v E.g. a university model v Don’t need much specialist knowledge to realise that domain classes include:

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Classes Domain class model fragment for university Student name dateOfBirth address Module title code description creditValue creditLevel *1..28 is registered for calculateAge () enrolStudent(Student)

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Modelling v We can also model bottom-up: –examine business processes –identify participating objects –model data and behaviour –group into classes

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Objects & Classes Possible Classes “Jez Tailor is 19. She has just enrolled for her second year as a student at DMU. This semester she is taking four modules: INFO2005, HRMG2001,...etc. ” Objects

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Objects Domain object model fragment for university :student Name= Jez Tailor dateOfBirth= address=XXXXXXXXXX :module Title=Requirements Analysis code=INFO2005 description=XXXXXXXXXX creditValue=15 creditLevel=2

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Modelling v From individual objects and links, we can: –identify classes –identify attributes and responsibilities –identify associations –identify cardinality and optionality constraints

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Model v In at least one way, a domain model is not true to life: –Jez may ‘own’ her data, e.g. date of birth –But when we need to know her age, we don’t get Jez to calculate it –Nor does a module ‘personally’ enrol students –(Heather in the Faculty Office does this!)

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Model v This reminds us of the ultimate purpose of a domain model: v To lead us to the development of useful systems - almost certainly software v But the domain model is not a model of the software

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Modelling v A domain model can also be abstracted (generalised) from use case driven models v Use case driven models are built for a specific application context v Some objects and classes have meaning beyond their immediate context

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Domain Modelling v E.g. use case realisation for ‘Enrol a student’ has: v Other use cases will use the classes, and add other attributes / operations:

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis and Design Models “Analysis classes handle primarily functional requirements, and model objects from the "problem" domain... “Design classes handle non-functional requirements, and model objects from the "solution" domain” RUP, 2000

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis and Design Models v Analysis: abstraction of design model v Analysis classes map to design as: –a single design class –part of a design class –an aggregate design class (i.e. parts of the aggregate not explicit in analysis model) –a group of design classes that inherit from the same class

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Analysis and Design Models v Other analysis class mappings: –a group of functionally related design classes –a design package (i.e. a component) –a design relationship –a relationship between analysis classes can become a class in the design model

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Locating in RUP Diagram © RUP, 2000

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Actors in RUP In RUP, a Systems Architect is responsible for developing and maintaining the overall analysis and design models... …while a Designer is responsible for specifying analysis and design classes that are capable of realising the use cases Diagrams © RUP, 2000 Text

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved Summary v Defined Analysis Model v Related to Domain and Design Models v Shown How to Develop a Domain Model v Related to RUP Workflows and Actors

Requirements Analysis Classes & Associations b510.ppt © Copyright De Montfort University 2000 All Rights Reserved References v Bennett, S. et. al. “Object-Oriented Systems Analysis & Design using UML” McGraw-Hill 2002 (in particular chap 7) v Rational Unified Process 2000