Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system data: Class diagram Updated: October.

Slides:



Advertisements
Similar presentations
Text-Book Chapters (7 and 8) Entity-Relationship Model
Advertisements

UML Class Diagram. UML Class Diagrams2 Agenda What is a Class Diagram? Essential Elements of a UML Class Diagram Tips.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system processes: Use Case Diagram Updated.
Systems development life cycle & development methodologies
Objectives Explain how events can be used to identify use cases that define requirements Identify and analyze events and resulting use cases Explain how.
UML Class Diagram and Packages Written by Zvika Gutterman Adam Carmi.
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Chapter 14 (Web): Object-Oriented Data Modeling
Chapter 2 Database System Design (part II)
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica System sequence diagram Updated: 2014.
Overview Objective: refine information gathered
2Object-Oriented Analysis and Design with the Unified Process Events and Use Cases  Use case  Activity the system carries out  Entry point into the.
6. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Explain how events can be used to identify use cases that define requirements.
Systems Analysis and Design in a Changing World, 6th Edition
Class diagram II Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Updated: October 2014.
Chapter 2: Entity-Relationship Model (Continued)
Systems Analysis and Design in a Changing World, 6th Edition
Chapter 14: Object-Oriented Data Modeling
Chapter 5: Modeling Systems Requirements: Events and Things
Chapter 2 Database System Design Based on G. Post, DBMS: Designing & Building Business Applications University of Manitoba Asper School of Business 3500.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
Database Design Concepts
Systems Analysis and Design in a Changing World, Fifth Edition
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 8 Slide 1 Chapter 9 Structuring System Data Requirements.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
Conceptual Data Modeling. What Is a Conceptual Data Model? A detailed model that shows the overall structure of organizational data A detailed model.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 - Domain Classes.
Slide 1 Structural Modeling Chapter 7. Slide 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 Domain Classes.
CHAPTER 13 (ONLINE): OBJECT-ORIENTED DATA MODELING © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
1 © Prentice Hall, 2002 Chapter 14: Object-Oriented Data Modeling Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
7-1 © Prentice Hall, 2004 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 13 (Online): Object-Oriented Data Modeling Modern Database Management 10 th Edition.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition.
Activity & Class Modeling Labs Discussion p3 T120B pavasario sem.
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Objectives Explain how events can be used to identify use cases that define requirements Identify and analyze events and resulting use cases Explain.
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.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Object-Oriented Data Modeling
ICOM 5016 – Introduction to Database Systems Lecture 5 Dr. Manuel Rodriguez Department of Electrical and Computer Engineering University of Puerto Rico,
CST203-2 Database Management Systems Lecture 4. Student entity NIDFNameLNameRegNoExamIdBirthdate.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
CHAPTER 13: OBJECT-ORIENTED DATA MODELING (OVERVIEW) Modern Database Management 11 th Edition Jeffrey A. Hoffer, V. Ramesh, Heikki Topi © 2013 Pearson.
Class Diagram Lecture # 1. Class diagram A Class Diagram is a diagram describing the structure of a system shows the system's classes Attributes operations.
Activity & Class Modeling Labs Discussion p3 T120B pavasario sem.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system processes: Use Case Diagram Updated.
5 Chapter 5: Modeling Systems Requirements: Events and Things Systems Analysis and Design in a Changing World.
UML Diagrams: Class Diagrams The Static Analysis Model
Business System Development
DATA REQIREMENT ANALYSIS
Domain Class Diagram Chapter 4 Part 2 pp
Database Design Chapters 17 and 18.
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Presentation transcript:

Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system data: Class diagram Updated: October Systems Analysis & Design * Bob Travica 1

Outline Problem domain classes Identifying reality aspects to be represented in information system Master and Transactional Data Associations between reality aspects and between Classes Attributes, Values, and Objects Multiplicity Generalization/Specialization association Part-Whole association

3510 Systems Analysis & Design * Bob Travica Identifying aspects of reality to be represented in system Physical reality - a person in the customer role customerNumber customerName customerAddress … Customer addNew() change() … Information System - a class Customer (older term “Entity”)

3510 Systems Analysis & Design * Bob Travica Identifying aspects to be represented in a system (cont.) PEOPLE IN REALITY ASPECTS “THINGS” CONCEPTS CUSTOMER SATISFACTION EMPLOYEE PERFORMANCE HAPPINESS *

3510 Systems Analysis & Design * Bob Travica Identifying aspects to be represented in system (cont.) List nouns users mention when discussing system Event table/use cases as source of aspects of interest: - Use cases (Create new Order) - Actors (Salesperson, Customer) Responses (Create Invoice)

3510 Systems Analysis & Design * Bob Travica Problem domain classes Problem domain= Area of business a system supports Identifying and analyzing aspects within a problem domain = essential to defining systems requirements Problem domain = customer ordering Problem domain classes = Customer, Order, Item

3510 Systems Analysis & Design * Bob Travica Translating reality aspects in two kinds of classes (data) Considering the stable/static vs. dynamic reality aspects, it is useful to differentiate between: Master classes: “Static, permanent aspects” that make business foundations (people in roles, physical things, organizational units – Employee, Department, Task, Job, Product, Supplier, Customer…) Transaction classes: “Dynamic, changing aspects” that make business operations (events -- Customer Order, Purchasing Order, Sale, Payment)

3510 Systems Analysis & Design * Bob Travica Associations between aspects of reality Association = relationship between aspects of reality Example: Customer places Order Associations apply in both directions Order is placed by Customer

3510 Systems Analysis & Design * Bob Travica Associations between classes The normal direction of reading is left-to-right and top-down. If violated, an arrowhead shows the direction. Whenever possible, arrange symbols to support the normal direction of reading Associations between reality aspects translate into relationships between classes. CUSTOMER ORDER PRODUCT APRODUCT B places contains is contained in

3510 Systems Analysis & Design * Bob Travica Associations between Master and Transaction Data A rule of thumb in modeling class diagrams: Master classes usually are not associated directly to each other but through the transaction class Systems Analysis & Design * Bob Travica Customer Order Product X Master Data Transaction Data orders placescontains

3510 Systems Analysis & Design * Bob Travica Details of a reality aspect and class attributes Specific details of an aspect become class attributes (pieces of data) Think of a database record (row) Understanding attributes is part of system analysis Key attribute: uniquely identifies each instance of a class – each Object (courseNumber; underlined) Class name Class attributes Class behaviors (methods, processes/functions working with data) courseNumber courseTitle creditHours Course addCourse() Class elements

3510 Systems Analysis & Design * Bob Travica Attribute values Attributes By specifying values of attributes, class is instantiated in objects. Classes define attributes (names & data types) - “skeleton”; objects are “carved” out of classes. Values

3510 Systems Analysis & Design * Bob Travica Multiplicity Multiplicity: the number of objects allowed on each side of a relationship. Looking from the Order side, the number of associated objects is as follows: 1 * (many, as soon as >1) Each order is placed by just one Customer. One order can contain several Products Note: Multiplicity still unknown on the Order side (two numbers missing). “CONTAINS”

3510 Systems Analysis & Design * Bob Travica Multiplicity Multiplicity, looking from the Customer and Product side, the number of associated objects is as follows: 1 1 * PLACES CONTAINED ON Places one or more orders. Unique Products contained on just one Order.

Multiplicity – key attribute design 3510 Systems Analysis & Design * Bob Travica Consumer electronics is usually keyed on serial number, so that each instance of a product (item) is unique; thus it can appear just on one order. For convenience, this key can be called “unique key”. But a product category can also be keyed (e.g., cables, or grocery products). This key could be called “generic key”. In this case, the relationship Order-Item is many-to-many 1 (below). Note: In determining multiplicity, it suffices to write maximum number of objects that can participate in a relationship (1..*; *..*; 1:1) 2. Graphical aid:

3510 Systems Analysis & Design * Bob Travica Associations between class objects with multiplicity CourseNumber CourseTitle CreditHours Course addCourse() SectionNumber Term StartTime RoomNumber Section openSection() closeSection() 1 * has Typical relationship involving objects from two classes. and each (one) section belongs to one course. A (one) course has many sections, Reading:

3510 Systems Analysis & Design * Bob Travica Associations between classes: Generalization/Specialization Class (Superclass) Subclasses of MotorVehicle Subclasses of Car Multiplicity is usually not specified, but is assumed to be is

3510 Systems Analysis & Design * Bob Travica Associations between classes: Part-Whole Part classes Whole class 1 part of 1 1 part of 1 (*) 1 part of 1 This part-whole association is called composition, or bill-of-materials. It shows parts that make a computer.