Copyright 2007 Oxford Consulting, Ltd

Slides:



Advertisements
Similar presentations
UML an overview.
Advertisements

Chapter 22 Object-Oriented Systems Analysis and Design and UML Systems Analysis and Design Kendall and Kendall Fifth Edition.
Unified Modeling Language
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
OOAD Placement Training 1 Prepared by G.Naveen Sundar, Karunya University.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Slide 1 Chapter 7 Structural Modeling. Slide 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business.
© Copyright Eliyahu Brutman Programming Techniques Course.
Unified Modeling Language
Introduction To System Analysis and design
Unified Modeling Language, Version 2.0
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
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.
Fall 2010 CS4310 Requirements Engineering A Brief Review of UML & OO Dr. Guoqiang Hu Department of Computer Science UTEP 1.
An Introduction to the Unified Modeling Language
2 2009/10 Object Oriented Technology 1 Topic 2: Introduction to Object-Oriented Approach Reference: u Ch.16 Current Trends in System Development (Satzinger:
Structural Modeling Chapter 7. Key Ideas A structural or conceptual model describes the structure of the data that supports the business processes in.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Design Model Lecture p6 T120B pavasario sem.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Introduction to OOAD and the UML
Lab 5 CPIT 250 System Analysis and Design.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
Chapter 3: Introducing the UML
Unit 1 Object-Oriented Design Concepts. Key Concepts Development methodologies Classes and objects Attributes and methods Inheritance and polymorphism.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Basic Characteristics of Object-Oriented Systems
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
UML Diagrams: Class Diagrams The Static Analysis Model
UML Diagrams By Daniel Damaris Novarianto S..
Chapter 1: Introduction to Systems Analysis and Design
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
The Movement To Objects
Systems Analysis and Design
Evolution of UML.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Systems Analysis and Design With UML 2
Unified Modeling Language
Systems Analysis and Design With UML 2
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
UML: Unified modeling language
Software Architecture & Design Pattern
Object Oriented Analysis and Design
University of Houston-Clear Lake
UML Class Diagram.
Introduction to UML.
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Understand and Use Object Oriented Methods
Analysis models and design models
Software Design Lecture : 15.
Chapter 1: Introduction to Systems Analysis and Design
Chapter 5.
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Chapter 1: Introduction to Systems Analysis and Design
Introduction to OOAD and the UML
Software Development Process Using UML Recap
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
ITEC324 Principle of CS III
Presentation transcript:

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look Unified Modeling Language - UML UML grew out of the great variety of ways to design and develop object-oriented models and designs Mid 1990s Number of credible approaches reduced to three 1997 version 1.1 of UML Submitted and accepted by Object Management Group - OMG Current version is 2.1 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML and the Process UML Independent of any Software Development Process Use Case Driven Architecture Centric Iterative and Incremental 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML and the Process Each UML Cycle has Four Phases Inception Elaboration Construction Transition 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML and the Process Within the Process Five Workflows Cut Across all Phases Requirements Analysis Design Implementation Test 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams UML uses Diagrams and Models Lead to a Philosophy of a Model Driven Architecture 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams Standard Recognizes 13 Classes of Drawings Class Activity Use Case Timing Object Sequence Component Communication Interaction Package State Chart Composite Structure Deployment 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams UML diagrams and models reflect Static and dynamic relationships amongst classes and class instances Static Relationships Give the architecture of the design Dynamic Relationships Give the runtime behaviour 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Use Cases Mechanism for Capturing User Requirements Once agreed to by the customer… …the use cases become the basis for all further Analysis Design Construction Testing Deployment 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Use Cases Gives an outside view of the system It describes the public interface for a module or the system Answers the Questions… What is the Behaviour that the User Sees What is the Behaviour that the User Expects 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Use Cases - Components The Use Case Diagram Comprises Three Components The System The Actor(s) The Use Case(s) 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Use Cases Has Two views… Graphical Textual 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Use Cases – Graphical View …A system is viewed as a collection of actors and use cases Use Case – A Solid Oval Actors – A Figure 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Use Cases – Textual View …Associated with each use case is a Textual Specification Normal Activity Exceptional Conditions 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams - Classes The class diagram gives a description of… The objects in the system The relationships amongst them 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams - Classes The class diagram specifies The public interface to the object The properties and operations Constraints 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams - Classes A class is collection of objects having the same characteristics Classes have Names Attributes Operations 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Classes - Attributes Attribute Name Identifier for the Attribute Type Associations visibility name:type = optional default value 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Classes - Attributes Operation and Attribute Visibility Public – ( + ) Attribute is visible It can be accessed / modified by all objects in the system Protected – ( # ) Within objects of the containing class and all of its subclasses Private – ( - ) Attribute is only visible Within objects of the containing class 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look UML Diagrams – Classes - Attributes Operations Identifier for the Attribute Type Associations visibility name(parameter list):return type direction name:type = optional default value in, out, inout 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look class Vehicle { public: Vehicle (String aType) vehicleType = aType; } int getSpeed() return speed; private: int speed; 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look Class Relationships We can define number of different relationships among classes Relationships Parent - Child - call inheritance Containment - whole part relationship Aggregation Composition strong form of aggregation Available services 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look Class Relationships - Inheritance 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look Class Relationships - Interface 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look Class Relationships – Containment - Aggregation 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd UML - A Brief Look Class Relationships – Containment - Composition 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Bringing Things Together Traditional Approach Analysis Design Implementation 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Analysis Transformation Vague Understanding Precise Description 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Analysis Emphasis Description of what is to be done Not how it should be done Algorithm selection done later 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Design Process Structure tasks into Classes Class Clusters or Libraries Identify Jobs – Helper, Supporter, Doer Define the ADTs 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Goal Classes Crisply Defined Identify Class Functionality Identify Relationships Relationships of Manageable Complexity 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Result Collection of Descriptions Each Class Class Operation Diagrams Showing Relationships Tools Available for Support 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Finding Classes Look for Nouns Objects State Behavior Identity Consider Tangible Things Roles Events Interactions 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Finding Operators Look for verbs Group each operation with one class Helpful to have more than one person involved 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Finding Relationships Use or Awareness USES-A Aggregation or Containment Has-A Inheritance or Specialization IS-A 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design CRC Cards Simple technique introduced by Beck and Cunningham To help in the Object Discovery phase of object oriented design 15 September 2007 Copyright 2007 Oxford Consulting, Ltd

Copyright 2007 Oxford Consulting, Ltd Design Strategy Description Underline the nouns Gives a first cut at the object list Identify causal objects Identify the sources of actions, events, and messages Identify services – passive objects Identify targets of actions, events, and messages Identify real world items Entities that exist in the real world Identify physical devices Physical devices are sensors, actuators (buttons), etc. Identify key concepts May be modeled as objects - may become an abstract base class Identify transactions Finite instances of associations between objects that persist for a significant period of time Identify persistent objects Information that must persist for significant periods of time Identify visual elements Elements that display data are objects within user interface domain Identify control elements Control elements are objects that provide the interface for the user Apply scenarios Walk through using identified objects. Missing should be clear 15 September 2007 Copyright 2007 Oxford Consulting, Ltd