Object-Oriented Analysis and Design Using UML

Similar documents
MICROPROCESSOR 8085 AND ITS INTERFACING SUNIL MATHUR. Second Edition A 1 ALE AD 0 - AD 7. Latch. Keyboard data V CC 8 P A D D 0 7 STB STB G G A

CHAPTER 1. Topic: UML Overview. CHAPTER 1: Topic 1. Topic: UML Overview

3.0 Object-Oriented Modeling Using UML

Analysis of Algorithms

Object Oriented System Development

CLOUD COMPUTING. M.N. Rao

A Programming Approach with C DHARMENDER SINGH KUSHWAHA

COMMUNICATION PROTOCOL ENGINEERING

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

Introduction... ix. Chapter 1: Exploring Fundamental Programming Concepts... 1

Fundamentals of Discrete Mathematical Structures

SOFTWARE MODELING AND DESIGN. UML, Use Cases, Patterns, and. Software Architectures. Ki Cambridge UNIVERSITY PRESS. Hassan Gomaa

FUNDAMENTALS OF DIGITAL CIRCUITS

Database. Request Class. jdbc. Servlet. Result Bean. Response JSP. JSP and Servlets. A Comprehensive Study. Mahesh P. Matha

Telecommunication Switching Systems and Networks

Software Service Engineering

UML Primer. -Elango Sundaram

Software Design And Modeling BE 2015 (w. e. f Academic Year )

COMPUTER GRAPHICS, MULTIMEDIA AND ANIMATION, Second Edition (with CD-ROM) Malay K. Pakhira

Computer Graphics. Apurva A. Desai

SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY

UML diagrams. Software artifacts include: SRS, SDS, test cases, source code, technical/user manual, software architecture, etc.

An Introduction To Object Modeling System Concept for Object Modeling The Overall View Components of UML Diagram

MICROPROCESSOR Architecture, Programming and Interfacing SUNIL MATHUR. Assistant Professor Maharaja Agrasen Institute of Technology Delhi

Guide to applying the ESA software engineering standards to projects using Object-Oriented Methods

UML Fundamental. OutLine. NetFusion Tech. Co., Ltd. Jack Lee. Use-case diagram Class diagram Sequence diagram

UNIT I. 3. Write a short notes on process view of 4+1 architecture. 4. Why is object-oriented approach superior to procedural approach?

Model Driven Development Unified Modeling Language (UML)

OO Analysis and Design with UML 2 and UP

Object-Oriented Systems Development: Using the Unified Modeling Language

SEEM4570 System Design and Implementation. Lecture 11 From Design to Implementation

INTERACTION ARCHITECTURAL MODELING. Lecture 9 Interaction Architectureal Modeling

BCS Higher Education Qualifications. Diploma in IT. Object Oriented Programming Syllabus

UML Modeling I. Instructor: Yongjie Zheng September 3, CS 490MT/5555 Software Methods and Tools

Lecture Notes UML UNIT-II. Subject: OOAD Semester: 8TH Course No: CSE-802

Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Course 3 7 March

Ingegneria del Software Corso di Laurea in Informatica per il Management. Introduction to UML

Introduction to Software Engineering. 5. Modeling Objects and Classes

SOFTWARE DESIGN COSC 4353 / Dr. Raj Singh

Object-Oriented Analysis Techniques Coad s OOA Technique Short History Terminological Comparison Postscript and Remarks

For 100% Result Oriented IGNOU Coaching and Project Training Call CPD TM : ,

Domain Engineering And Variability In The Reuse-Driven Software Engineering Business.

UML & OO FUNDAMENTALS CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 3 08/30/2011

Object Orientated Analysis and Design. Benjamin Kenwright

Object-Oriented Design

OO Requirements to OO design. Csaba Veres Alan M. Davis (1995), Colorado

The Unified Modeling Language User Guide

Object-Oriented Analysis and Design. Pre-UML Situation. The Unified Modeling Language. Unification Efforts

Exercise Unit 2: Modeling Paradigms - RT-UML. UML: The Unified Modeling Language. Statecharts. RT-UML in AnyLogic

NOTES ON OBJECT-ORIENTED MODELING AND DESIGN

Object-Oriented Design

KINGS COLLEGE OF ENGINEERING

Unified Modeling Language (UML) Class Diagram

Modellistica Medica. Maria Grazia Pia, INFN Genova. Scuola di Specializzazione in Fisica Sanitaria Genova Anno Accademico

SRI VENKATESWARA COLLEGE OF ENGINERRING AND TECHNOLOGY THIRUPACHUR,THIRUVALLUR UNIT I OOAD PART A

Introduction. Chapter 1. What Is Visual Modeling? The Triangle for Success. The Role of Notation. History of the UML. The Role of Process

CSC 330 Object Oriented Software Design. Software Analysis Phase

What's New in UML 2.0

CASE TOOLS LAB VIVA QUESTION

Pertemuan 8. Object Oriented Modeling and Design

CSC 330 Object Oriented Software Design Software Analysis Phase Object-Oriented Paradigm Object-Oriented Analysis cont d

Objectives. Explain the purpose and objectives of objectoriented. Develop design class diagrams

Index. : (colon), 80 <<>> (guillemets), 34, 56

1. Software Systems Complexity, OO Paradigm, UML

OBJECT ORIENTED DESIGN with the Unified Process. Use Case Realization

Unified Modeling Language (UML)

COP 3330 Final Exam Review

OBJECT ORIENTED SYSTEM DEVELOPMENT Software Development Dynamic System Development Information system solution Steps in System Development Analysis

Learning Objectives. C++ For Artists 2003 Rick Miller All Rights Reserved xli

Unified Modeling Language

An Object Oriented Programming with C

UML part I. UML part I 1/41

Designing Object-Oriented C++ Applications

Homework 2 Implementing the University Application Due: November 7, 2004 (Sunday midnight)

ENCAPSULATION. private, public, scope and visibility rules. packages and package level access.

OBJECT ORIENTED DESIGN with the Unified Process. Use Case Realization

Class diagrams. Modeling with UML Chapter 2, part 2. Class Diagrams: details. Class diagram for a simple watch

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

UML & OO Fundamentals. CSCI 4448/5448: Object-Oriented Analysis & Design Lecture 3 09/04/2012

SESSION M12-S12 INTERNAL ASSIGNMENT

Software Development Methodologies

Introduction to UML. Danang Wahyu utomo

UML Modeling. Sumantra Sarkar. 29 th June CIS 8090 Managing Enterprise Architecture

In this Lecture you will Learn: Object Design. Information Sources for Object Design. Class Specification: Attributes

Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page:

i219 Software Design Methodology 1. Overview of software design methodology Kazuhiro Ogata (JAIST) Outline of lecture

Software Engineering Lab Manual

Object-Oriented Modeling Using UML. CS151 Chris Pollett Aug. 29, 2005.

OOAD - OBJECT MODEL. The concepts of objects and classes are intrinsically linked with each other and form the foundation of object oriented paradigm.

Object-Oriented Systems Analysis and Design Using UML

Session 8: UML The Unified Modeling (or the Unstructured Muddling) language?

CISC 322 Software Architecture

Object-Oriented Programming and Data Structures

TTool Training. I. Introduction to UML

Software Engineering from a

Preface to the Second Edition Preface to the First Edition Brief Contents Introduction to C++ p. 1 A Review of Structures p.

On UML2.0 s Abandonment of the Actors-Call-Use-Cases Conjecture

Patterns and Testing

Transcription:

Object-Oriented Analysis and Design Using UML An Introduction to Unified Process and Design Patterns Mahesh P. Matha

Object-Oriented Analysis and Design Using UML

Object-Oriented Analysis and Design Using UML An Introduction to Unified Process and Design Patterns MAHESH P. MATHA Department of Computer Science (PG Section) Smt. Parvatibai Chowgule College of Arts and Science Margao, Goa New Delhi-110001 2010

Rs. 295.00 OBJECT-ORIENTED ANALYSIS AND DESIGN USING UML An Introduction to Unified Process and Design Patterns Mahesh P. Matha 2008 by PHI Learning Private Limited, New Delhi. All rights reserved. No part of this book may be reproduced in any form, by mimeograph or any other means, without permission in writing from the publisher. ISBN-978-81-203-3322-2 The export rights of this book are vested solely with the publisher. Second Printing December, 2010 Published by Asoke K. Ghosh, PHI Learning Private Limited, M-97, Connaught Circus, New Delhi-110001 and Printed by Glorious Printer, Delhi-110092.

To my loving Mother Mrs. Kumud P. Matha and my Father (Late) Mr. Pandurang R. Matha

Contents Preface Acknowledgements xiii xv 1 Introduction 1 10 1.1 Role of Analysis and Design in Software Development 1 1.2 What is Meant by Object Orientation? 2 1.2.1 Encapsulation 2 1.2.2 Abstraction, Implementation Hiding 4 1.2.3 Inheritance, Dynamic Binding, Polymorphism 4 1.2.4 Overriding and Overloading 5 1.2.5 What is Object-Oriented Analysis and Design (OOAD)? 6 1.3 Overview of Various OOAD Methodologies 6 1.3.1 Booch Methodology 6 1.3.2 Coad and Yourdon Methodology 6 1.3.3 Fusion 7 1.3.4 Jacobson: Objectory and OOSE 7 1.3.5 LBMS SEOO 7 1.3.6 Rumbaugh OMT 7 1.3.7 Shlaer and Mellor OO Analysis 8 1.4 Goals of UML 8 Summary 9 Review Questions 9 2 Use Case Modelling 11 40 2.1 Actors and Use Cases 12 2.2 Use Case Relationships 14 2.2.1 The Include Relationship 14 2.2.2 The Extend Relationship 15 2.2.3 Use Case Generalization 17 2.3 Writing Use Cases Formally 17 2.4 How to Choose the System Boundary 19 2.5 Finding Actors 19 2.6 Finding Use Cases 19 2.7 Use of Use Cases for Validation and Verification 19 vii

viii CONTENTS 2.8 Use Case Realization 20 CASE STUDY: A Career Guidance Portal 21 Summary 38 Review Questions 39 3 Static Modelling Using Class Diagrams 41 73 3.1 Classes and Objects 42 3.2 Attributes and Operations 43 3.3 Visibility of Attributes and Operations 44 3.3.1 Private Visibility 44 3.3.2 Public Visibility 46 3.3.3 Protected Visibility 46 3.4 Class Scope Attribute 46 3.5 Mapping Class to Java Code 47 3.6 Attributes with Default Values 48 3.7 Associations 48 3.7.1 The Java Code for Unidirectional Association 49 3.7.2 The Java Code for Bidirectional Association 51 3.8 Role Names 52 3.9 Qualified Association 52 3.10 Association Class 54 3.11 Ternary Association 54 3.12 Recursive Association 55 3.12.1 The Java Code for Recursive Association 56 3.13 Multiple Associations between Two Classes 56 3.13.1 The Java Code for Multiple Associations between Two Classes 56 3.14 Aggregation 56 3.14.1 Composite Aggregation 57 3.14.2 Shared Aggregation 57 3.15 Generalization 58 3.15.1 The Java Code for Generalization 58 3.16 Abstract Class 59 3.17 Subclass Partitioning 60 3.18 Generalization Set 61 3.19 Interfaces 62 3.19.1 The Java Code for Interface Realization 63 3.20 Packages and Grouping of Classes into Packages 63 3.20.1 Graphical Display of Owned Elements 64 3.20.2 Import, Access and Export 65 3.21 Parameterized Classes 68 3.22 Identification of Classes for Career Guidance Portal 69 Summary 72 Review Questions 72

CONTENTS ix 4 Interaction Diagrams 74 95 4.1 Introduction to Interaction Diagrams 74 4.1.1 Sequence Diagrams 75 4.2 Creating New Objects 78 4.3 Combining Fragments (Condition and Loop) 78 4.3.1 The Option Combination Fragment 80 4.3.2 The Break Combination Fragment 80 4.3.3 The Parallel Combination Fragment 82 4.3.4 The Ref Combination Fragment 83 4.3.5 Gates 84 4.3.6 Recursion 86 4.3.7 Iteration over a Collection 86 4.3.8 Invoking Static Messages 88 4.4 Communication Diagrams 88 4.4.1 Basic Notation for Communication Diagrams 88 4.4.2 Labelling Messages in Communication Diagrams 89 4.4.3 Messages to Self 90 4.4.4 Creating Instances 90 4.4.5 Mutually Exclusive Conditional Messages 91 4.4.6 Iteration for a Single Message 92 4.4.7 Iteration over a Collection 92 4.4.8 Invoking Static Messages 93 Summary 93 Review Questions 94 5 Dynamic Modelling Using State and Activity Diagrams 96 132 5.1 What are State Machines? 97 5.2 Events 98 5.2.1 Time Event 98 5.2.2 A Guard Condition Becoming True 98 5.2.3 Change Event 98 5.2.4 Call Event 98 5.2.5 Signal Event 99 5.3 States and Transitions 99 5.4 Formal Syntax for Specifying a State Transition 100 5.5 Substates 101 5.6 Modelling Complex Transitions 102 5.7 The History Indicator (Shallow and Deep History) 103 5.8 The Junction State 104 5.9 The Synch State 105 5.10 The Submachine Reference and the Stub States 106 5.10.1 Stub State 107

Object-oriented Analysis And Design Using UML An Introduction To Unified Process And Design Patterns Publisher : PHI Learning ISBN : 9788120333222 Author : Mahesh P Matha Type the URL : http://www.kopykitab.com/product/6183 Get this ebook