SYS466: Analysis and Design Using OO Models Lecture 8 Domain Classes – More on Relationships.

Slides:



Advertisements
Similar presentations
Seed Management System Software for the Seed Industry.
Advertisements

Rent a car assignement. 1.Underline ( or color ) all the nouns in the use case.
From use cases to classes (in UML). A use case for writing use cases Use case: writing a use case Actors: analyst, client(s) Client identifies and write.
Use Case Diagrams Damian Gordon.
Database Design – Lecture 11
Use Case & Use Case Diagram
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Point of Sale Presented by: Natasha Leon Presented by: Natasha Leon.
MS-Access XP Lesson 2. Input Mask Property 1.Field : Phone No Data Type : Number Input Mask : Character 0 represent a single digit and phone.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Robert B. Jackson Brigham Young University John W. Satzinger
Ch 12: Object-Oriented Analysis
Jan 16, Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Iteration 1: a simple cash-only success scenario of Process Sale.
6.4 Entering Payments Made at the Time of an Office Visit
6 Lecture 2 Entering Charge Transactions and Patient Payments.
Chapter 10 System Sequence Diagrams. What is a System Sequence Diagram? A way of modeling input and output events related to systems It is a picture that.
Lecture 4 Class Responsibility Collaboration Cards
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
6/8/991 Analysis Tuesday 09/14/99 Revised: September 11, 2000 (APM)
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH 1 Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 More on use cases System sequence.
Object-Oriented Development Process Part I: Requirement Gathering Warsun Najib Department of Electrical Engineering Gadjah Mada University.
Lecture Note 8 Using Data Flow Diagrams
Com S 362: Object-Oriented Analysis and Design Class, Responsibilities, Collaborations, CRC Cards Com S 362: Object-Oriented Analysis and Design Oct 18,
Chapter 7: The Object-Oriented Approach to Requirements
User Interface Theory & Design
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Extended Class Diagram.
Key Features of The Product :
Requirements Functional requirements  Use-cases
BTS330 Documenting Use Cases.
Guide To Sacrificial Giving
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
Sept Ron McFadyen1 Section 10.1 Domain Models Domain Model: a visual representation of conceptual classes or real-world objects in a domain.
SEA Side Software Engineering Annotations Annotation 13: Use Cases Professor Sara Stoecklin Director of Software Engineering- Panama City
1 Case Study: Purchase Ticket. 2 Overview “Purchase Ticket by Check” Use case. Sequence Diagrams. Conceptual Model. Contracts.
Review ♦ System sequence diagram ♦ Domain model
Krishna Technologies, Pune. 166/167, Dhanshree Apt, Opp. Kasba Ganpati Mandir, Kasba Peth, Pune – , Maharashtra. Phone :
PRJ566 System Sequence Diagrams.  A system sequence diagram …. Illustrates input and output events related to the system under discussion.  Larman,
Chapter 9 Applying UML and Patterns -Craig Larman
User Interface Theory & Design Lecture 6a 1.  User interface is everything the end user comes into contact with while using the system  To the user,
1 A Student Guide to Object- Oriented Development Chapter 6 Identifying Functionality.
SYS466: Analysis and Design Using OO Models Domain Class Diagram.
SYS466: Analysis and Design Using OO Models Domain Class Diagram, Part 1.
1 Chapter 5 Modeling System Requirements Finding the Use Cases Page
System sequence diagrams
Domain Classes – Part 1.  Analyze Requirements as per Use Case Model  Domain Model (Conceptual Class Diagram)  Interaction (Sequence) Diagrams  System.
Database Design – Lecture 6 Moving to a Logical Model.
CIS 321—IS Analysis & Design Chapter 5: Modeling System Requirements—Events and Things.
Object-Oriented Analysis and Design Use cases Finding classes Collaboration and Sequence diagrams Associations between classes.
OO DomainModeling With UML Class Diagrams and CRC Cards Chapter 6 Princess Nourah bint Abdulrahman University College of Computer and Information Sciences.
 System Sequence Diagrams Sheridan SYST Engineering Quality Systems 11.
DOMAIN CLASSES – PART 1 BTS430 Systems Analysis and Design using UML.
Data Base Design Steps 1.Define Entity Classes (Relations/Tables) and Keys. 2.Define Relationships between Entity Classes. Normalization Steps Eliminate.
Data Flow Diagram Zero Level.
Powered by Custom Duty Payment Powered by
ATM OO Design and Implementation Case Study
System Sequence Diagrams and Operation Contracts
System sequence diagrams
Object-Oriented Static Modeling of the Banking System - I
Database Requirements and Design
OO Domain Modeling With UML Class Diagrams and CRC Cards
OO Domain Modeling With UML Class Diagrams and CRC Cards
SYS366 Documenting Use Cases.
Context Level DFD Video Purchase System Video Information Management
SYS466 Domain Classes – Part 1.
RECEIPT No.: 1 Paid by: Paid to: DESCRIPTION AMOUNT SUBTOTAL
RECEIPT No.: 1 Paid by: Paid to: DESCRIPTION AMOUNT SUBTOTAL
SUBTOTAL TAX TOTAL SUBTOTAL TAX TOTAL SUBTOTAL Description Amount
LESSON 2-3 Analyzing How Transactions Affect Owner’s Equity Accounts
BLUEBUILDING Wellington, New Zealand
Date: ____________________ Receipt #: _______________
SUBTOTAL TAX TOTAL SUBTOTAL TAX TOTAL SUBTOTAL Description Amount
Presentation transcript:

SYS466: Analysis and Design Using OO Models Lecture 8 Domain Classes – More on Relationships

Where are we going? Analyze Requirements as per Use Case Model Analyze Requirements as per Use Case Model System Sequence Diagrams System Sequence Diagrams Domain Model (Conceptual Class Diagram) Domain Model (Conceptual Class Diagram) Interaction (Sequence) Diagrams Interaction (Sequence) Diagrams Design Class Diagram Design Class Diagram

Requirements Gathering (Specification) Use Case Analysis Interaction Modeling Coding 1. Refine Use Case Description – Scenarios 2. Model system input and output events (Systems Sequence Diagram - SSD) 3. Noun filtering - Domain Class Diagram (conceptual classes) - Identify attributes of conceptual classes - Identify relationships between conceptual classes (association and composition) 1. Model object interaction & definition of operations using Sequence Diagrams 2. Refine the Domain Class Diagram – show final relationships (associations, composition, inheritance) Testing SYS366 SYS466 PRJ Business and System Use Case Diagrams 2. Business and System Use Case Descriptions ** PRJ566 – encompasses SYS366, SYS466, DBS201 and DBS301

Relationships Multiplicity of relationships can be 1:1, 1:M, M:N Multiplicity of relationships can be 1:1, 1:M, M:N M:N relationships can exist in a class diagram M:N relationships can exist in a class diagram

Sample Scenario HD Rent Video using cash ActorSystem Click on rent video button on the menuDisplay rent a video page with a prompt for customer id. Enter customer idRetrieve customer information (id, name, phone number) and diplays rent a video page showing cust id, name, phone number and a prompt for video id Enter video idRetrieve video id, desc, rental price and display the video page showing id, desc, rental price and update and display subtotal Click on done buttonRetrieve and display payment methods in a drop down list on the rent a video page Select cashPrompt for amount paid Enter amount paidCalculate change, update stock, display change and due date on the rent a video page, and print a receipt Click exitDisplays menu and end the scenario

Sample Scenario Noun or Noun PhraseClass or attribute? Name of potential conceptual class or attribute If attribute, what class does it belong to? Customer IDAcustIDCustomer Customer informationCCustomer NameAnameCustomer Phone numberAphoneNumberCustomer Video idAvideoIDVideo DescAdescriptionVideo Rental priceArentalPriceVideo Payment methodsAmethodTypePaymentMethod Amount paidAamountPaidRental Transaction ChangeAchangeRental Transaction StockAquantityOnHandVideo Due dateARental Transaction receiptCReceipt

Sample Scenario The above noun filter would result in this class diagram: The above noun filter would result in this class diagram: Note the M:N relationship!

Sample Scenario When an M:N relationship exists, an intersection or association class could be created – under certain circumstances When an M:N relationship exists, an intersection or association class could be created – under certain circumstances

Classes When to create the intersection or association class? When to create the intersection or association class? If an attribute exists that should be associated with it, then create it at the time the noun filtering is done If an attribute exists that should be associated with it, then create it at the time the noun filtering is done Otherwise, show the M:N relationship in the class diagram Otherwise, show the M:N relationship in the class diagram