Classes, Sequence Diagrams and Triangulation

Slides:



Advertisements
Similar presentations
Overview of a Simple Development Method. Background Before discussing some specific methods we will consider a simple method that doesnt have a name but.
Advertisements

Use case tutorial examples.
09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
Architecture. Outline Example Decomposition Style Activity 1.
Business Analysis & Data Design ITEC-630 Spring 2008
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
ATM User Interface Design. Requirements A bank customer is able to access his or her account using an automatic teller machine. To be able to use an ATM.
Overview of a Simple Development Method. Background Before discussing some specific methods we will consider a simple method that doesn’t have a name.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Systems Analysis and Design in a Changing World, 6th Edition
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.
PRJ566: PROJECT PLANNING AND MANAGEMENT Class Diagrams.
SABAL SHRESTHA SHERIF HALAWA SHAMA KHADPEKAR JIANWEI LAI SI TRAN GROUP A Tri-Airport Shuttle System.
Business Modeling Domain Modeling Source: Use Case Driven Object Modeling with UML – A Practical Approach By Doug Rosenberg ISBN:
Online Book Shop Conceptualization Bookshop: Books, MusicCDs, Software
Data Modeling ERM ERD.
The Project Process Inception - initial planning Elaboration - refining the design Construction - building the system Transition - installation support.
Systems Analysis and Design in a Changing World, Fifth Edition
Fall CIS 764 Database Systems Engineering L21: Status Project Reviews Testing.
Faculty of Computer & Information
Planning Tool for Classes A Single Class Class name Attributes (Properties) Operations (Methods)
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Systems Analysis and Design in a Changing World, 6th Edition
Three Layer Architecture Why Bother with the Middle Layer?
Analysis Paralysis We spend so much time thinking about the problem and making sure the next step is “perfect” there is a risk that we never actually.
Essentials of OVID Using UML based notation to capture system requirements and design.
Group Booking : Reserve Multiple Rooms In Single entry Book Multiple Rooms in Single Entry.
IS3320 Developing and Using Management Information Systems Lecture 18: Data-Flow Diagrams 3 – Level 1 Modelling Rob Gleasure
Product V Process Planning Tool for Classes Relationship Between Layers Presentation (Use cases)Middle (Classes)Data (Entities)
TRANSACTIONAL DATA. TRANSACTION DATA THE COLLECTED INFORMATION ABOUT THE SELL AND PURCHASE TRANSACTION IS THE ACTIVITIES THAT OCCUR EVERY TIME YOU BUY.
Requirements capture: Using UML Use Cases David Millard and Yvonne Howard {dem,
Invoices Training Presentation for Supply Chain Platform: BAE Systems May 2015.
Use Case Diagrams A Detailed Description. Use Case Diagrams Use case diagrams describe relationships between users and use cases A use case is a (usually.
You will need to… Sort out your teams Know your assessment schedule Identify your personal project title Discover the core functionality Agree the shared.
 Class and Diagram  Representation of Class Name Attributes Operations  Visibility of Attributes and Operations.
Welcome to the ABC Bakers PowerPoint on Girls Selling Cookies Online with E-Cards. ABCSmartcookies.com is your Girl Scout’s all-in-one access to learn.
Shopping on Amazon & Safe Shopping
Rob Gleasure IS3320 Developing and Using Management Information Systems Lecture 15: Data-Flow Diagrams 2 – Level.
Discovering Use Cases.
Object-Orientated Analysis, Design and Programming
CMPE 280 Web UI Design and Development August 29 Class Meeting
Systems Analysis and Design in a Changing World, 6th Edition
Module4 Company Website.
System Sequence Diagrams and Operation Contracts
Use Case Model.
Sequence Diagrams.
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
Sequence Diagrams.
Welcome to the ABC Bakers PowerPoint on Girls Selling Cookies Online with E-Cards. ABCSmartcookies.com is your Girl Scout’s all-in-one access to learn.
Class diagram Description
OO Domain Modeling With UML Class Diagrams and CRC Cards
Database Applications
ER MODEL Lecture 3.
Sequence Diagrams.
Industry Mall User Administration Webinar
Tech Data: Your Source For Sony Products
© 2016 Blackboard Inc. All rights reserved..
eBay Basics Phillip Schneider Information Services Librarian
Systems Analysis and Design in a Changing World, 6th Edition
Object Interaction Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Discovering Use Cases.
Discovering Classes.
Copyright 2007 Oxford Consulting, Ltd
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Systems Analysis and Design I
Use Case Analysis – continued
Domain Model: Visualizing Concepts
Presentation transcript:

Classes, Sequence Diagrams and Triangulation

Simple Class Diagram

Relationship Between Layers Presentation (Use cases) Middle (Classes) Data (Entities)

A Single Class Class name Attributes (Properties) Operations (Methods)

Starting from the Event Table Subject Verb Object Response User Views Address List Addresses are listed by the system Filters Address list is filtered based on pattern Adds Address Address is added to the system Updates Address is updated on the system Deletes Address is deleted from the system System Validates Address data is accepted or error is displayed

Starting from the Scenario At the end of each year students have purchased a number of books that are surplus to requirements by the end of the year / course. In order to recycle the books and possibly make a little money a system is required allowing students to sell their books on to students following them on lower years. The application will be web based allowing students to access sales and account details at home. Students will sign up to the site providing contact details. Once authenticated on the system a student will be able to add books that they no longer require. Initially books will be viewable only to the student themselves. To sell on a book the student must take the book to the book shop on the ground floor of Gateway house. The book will be handed to the system administrator (Brenda) who will place the book into stock, provide a receipt for the student and then flag the book on the system as “in stock”. Now that the book is in stock it is visible to other students on the system who may reserve the book for collection. Once reserved the purchasing student must visit the book shop and pay for the book. They will be issued with the book along with a receipt or they have the option of cancelling the transaction if the book was not what they expected (wrong edition of poor condition). As soon as the transaction is completed the seller of the book is notified. They need to visit the bookshop to claim the money paid by the buyer. Identify the nouns

How do we find Associations? Subject Verb Object Response Consultant Inputs Card Data accepted by the system System Checks Identifying duplicates Updates New data input Clues may be found looking at subjects and Object

Multiplicity how many of one class may be used by another class

Composition (Has relationship) Can an order line exist without an order? No – so we indicate a strong relationship Order Order Line Has 1 0..* Attributes Operations Order Order Line Has 1 0..* Attributes Operations

Aggregation (Uses relationship) Can an address exist without a customer? Yes - so we express this with a clear diamond Customer Address Uses 1 1..* Attributes Operations Customer Address Uses 1 1..* Attributes Operations

Don’t Forget Collection Classes 1 Collection class allows you to manage many instances of the item class A good starting point is to consider 1 table needs 2 classes to control it

Triangulation Not a simple linear process Class Designs Use Cases Sequence Diagram Not a simple linear process Things we discover later shed light on what we thought we knew previously

The Use Case Diagram

The Class Diagram

First go at the Sequence Diagram Actors Objects Swim lines Messages

Important Questions to Ask Do we have an actor on the use case that matches the sequence diagram? Yes! Do we have a class that allows us to create the Companies object? Yes! Do we have methods in the class that are able to handle the messages? FilterByCompanyName – yes FilterByCompanyNo - no

The Sequence Diagram Allows us to cross check our use cases and classes The smoke and mirrors prototype informs this process Need to think in terms of what objects support our use cases…

The Process Uncertain at first Discuss your products with each other Develop Individual Event Tables Draw up initial use cases class diagrams Sequence diagrams Do they triangulate?