Sub-Phase Low Level Design (cont)

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design CHAPTERS 15: UML INTERACTION DIAGRAMS 1.
Advertisements

Analysis Modeling Static Modeling.
UML Class and Sequence Diagrams Violet Slides adapted from Marty Stepp, CSE 403, Winter 2012 CSE 403 Spring 2012 Anton Osobov.
Problem Solving #1 ICS Outline Review of Key Topics Review of Key Topics Example Program Example Program –Problem 7.1 Problem Solving Tips Problem.
Designing Classes Chapter 3. 2 Chapter Contents Encapsulation Specifying Methods Java Interfaces Writing an Interface Implementing an Interface An Interface.
What is UML? A modeling language standardized by the OMG (Object Management Group), and widely used in OO analysis and design A modeling language is a.
Collaboration Diagrams. Example Building Collaboration Diagrams.
Computer Science CS425/CS6258/23/20011 The Architecting Phase Class diagrams are further refined in this phase of development Object diagrams are created.
1 CS1001 Lecture Overview Object Oriented Design Object Oriented Design.
Programming With Java ICS201 University Of Hail1 Chapter 12 UML and Patterns.
Object-Oriented Analysis and Design
Object-Oriented Analysis and Design
Object Oriented Software Development
Object-oriented methodology object models use case modeling unified modeling language the data dictionary the cornucopia case portfolio project Systems.
UML Collaboration Diagram. Recap System Sequence Diagrams (SSD) UML for SSD Examples.
1 Phase Implementation. Janice Regan, Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine subphases)
Introduction to Sequence Diagrams
Understand Application Lifecycle Management
CS 3610: Software Engineering – Spring 2009 Dr. Hisham Haddad – CSIS Dept. Class Project OO Design Document Here is what you need to do for your class.
1 CMPT 275 Phase: Design. Janice Regan, Map of design phase DESIGN HIGH LEVEL DESIGN Modularization User Interface Module Interfaces Data Persistance.
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis Activity (Identifying Objects, Scenarios) Janice Regan,
Java Classes Using Java Classes Introduction to UML.
Chapter 5 Class Design. The Deliverables of the Class Design Process Class diagrams are further refined in this phase of development Object diagrams are.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2012 John Wiley & Sons, Inc. All rights.
CMPT 275 Software Engineering
1 Sub-Phase Low Level Design (cont). Janice Regan, Map of design phase DESIGN HIGH LEVEL DESIGN Modularization User Interface Module Interfaces.
Dynamic Modeling Chapter 11 Part of Analysis Modeling Designing Concurrent, Distributed, and Real-Time Applications with UML Hassan Gomaa (2001)
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 9: Interaction.
111 Protocols CS 4311 Wirfs Brock et al., Designing Object-Oriented Software, Prentice Hall, (Chapter 8) Meyer, B., Applying design by contract,
Unit 1 INTRODUCTION TO MODELING AND CLASS MODEL Ref : L7-UML.PDF.
1 CMPT 275 Phase: Design. Janice Regan, Map of design phase DESIGN HIGH LEVEL DESIGN Modularization User Interface Module Interfaces Data Persistance.
© 2005 Prentice Hall9-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis activity Janice Regan,
CS 3610: Software Engineering – Fall 2009 Dr. Hisham Haddad – CSIS Dept. Class Project OO Design Document Here is what you need to do for your class project.
1 A Student Guide to Object- Oriented Development Chapter 6 Identifying Functionality.
Information Systems Engineering
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
Designing Classes Chapter 3. 2 Chapter Contents Encapsulation Specifying Methods Java Interfaces Writing an Interface Implementing an Interface An Interface.
A Student Guide to Object- Oriented Development Chapter 10 Designing objects and classes.
Geospatial Systems Design and UML Or Looking at “OMT-G: An Object-Oriented Data Model for Geographic Applications” by Karla A.V. Borges, Clodoveu A. Davis.
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 classes 1 classes a class describes a group of objects with: similar properties (attributes)
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
1 High Level Design Phase Refining Use Cases User Interface Information.
Class Diagram Chapter 21 Applying UML and Patterns Craig Larman.
Chapter 16: UML Class Diagrams
Chapter 16 UML Class Diagrams.
Object-Oriented Analysis and Design Use cases Finding classes Collaboration and Sequence diagrams Associations between classes.
Capturing Requirements. Questions to Ask about Requirements 1)Are the requirements correct? 2)Consistent? 3)Unambiguous? 4)Complete? 5)Feasible? 6)Relevant?
McGraw-Hill/Irwin© 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 17 Object-Oriented Design and Modeling Using the UML.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Unified Modeling Language (UML)
BTS430 Systems Analysis and Design using UML Design Class Diagrams (ref=chapter 16 of Applying UML and Patterns)
SYSTEM-LEVEL SEQUENCE DIAGRAMS Sys466. System-Level Sequence Diagrams  Use cases describe how external actors interact with the software system…  An.
Chapter 5: Structural Modeling
UNIT-IV Designing Classes – Access Layer ‐ Object Storage ‐ Object Interoperability.
Chapter 4: Business Process and Functional Modeling, continued
Systems Analysis and Design in a Changing World, 6th Edition
System Sequence Diagrams and Operation Contracts
Chapter 5: Structural Modeling
Design Class Diagrams
Chapter 16 UML Class Diagrams.
Design Class Diagrams
Behavioral Modeling.
Object-Orientated Analysis, Design and Programming
Corresponds with Chapter 7
Systems Analysis and Design in a Changing World, 6th Edition
Slides by Steve Armstrong LeTourneau University Longview, TX
Class Diagrams.
Protocols CS 4311 Wirfs Brock et al., Designing Object-Oriented Software, Prentice Hall, (Chapter 8) Meyer, B., Applying design by contract, Computer,
CS 8532: Advanced Software Engineering
Presentation transcript:

Sub-Phase Low Level Design (cont)

More UML – Class Diagram Method Syntax [visibility] name [(parameter-list)] [: return-type] [visibility] [(parameter-list)] + means public name of parameter + type - means private void is default # means protected NOTE: the square brackets indicate that their contents are optional, the square brackets should not be included on your class diagram Janice Regan, 2008

More UML – Class Diagram Attribute Syntax [visibility] name [multiplicity] [: type] [= initial-value] [{property-string}] [visibility] [{property-string}] + means public changeable - default - means private frozen - constant # means protected NOTE: the square brackets indicate that their contents are optional, the square brackets should not be included on your class diagram Janice Regan, 2008

Updating classes Should use all parts of the syntax provided on the previous two slides in your class diagram. The exception is when one of the fields is not appropriate to the attribute or method being described E.g. No parameters given indicates there are none We have discovered attributes and methods for each class now we need to fill in the information to give a full description in our class diagram Need data types Need to determine visibility of methods (should have parameter lists already) Janice Regan, 2008

Patron and Resource class attributes +Name:String +Address:String +Phone # :String +Patron ID: integer +List of borrowed resources[0..24]:Long[ ] . . . +get ExpiryDate( ) : Date +getName( ) : String +checkIn(call# : integer) Janice Regan, 2008

Validation & Verification: Class Design All requirements developed during analysis must be addressed during design All design documents and diagrams must cross reference fcn requirements from the requirements specification Verification: Design diagrams created by diff. software developers To ensure all pieces fit together: Informal walk-through Run through each scenario, following diagrams Ensure that messages use method signature correctly Janice Regan, 2008

Summary of Low Level Design Refine scenarios from refined use cases created during Requirement Analysis and refined during High Level Design Refine class diagrams by adding attribute details from class diagrams created for each use case in Requirement Analysis, and refined scenarios produced in the above step For each refined scenario, develop interaction diagrams: collaboration or sequence diagrams Further refine class diagrams by adding methods these methods are implied from the inter-object communication conveyed in the scenarios' interaction diagrams Define algorithm for each method Janice Regan, 2008