Dr. Kivanc DincerCS319 Week 11 - Nov.21,20051 Chapter 20 Mapping Designs to Code Objectives Map design artifacts to code in an object-oriented language.

Slides:



Advertisements
Similar presentations
Chapter 22 UML Tooks and UML as Blueprint Model-Driven Architecture (MDA) Object-Constraint Language (OCL)
Advertisements

Jan 23, Ron McFadyen1 SSD for a samplePOS Use Case Figure 13.1 Input Events invoke a system operation of the same name same idea as in object-oriented.
Design analysis implementation testing maintenance Waterfall Development Process Linear one phase is completed before the next begins in practice, must.
Objects and Classes First Programming Concepts. 14/10/2004Lecture 1a: Introduction 2 Fundamental Concepts object class method parameter data type.
NJIT 1 Mapping Designs to Code Code example: Hemish Kapadia.
Jan 8, Ron McFadyen1 Waterfall Spiral UP Case study UML Use Cases.
1 A Student Guide to Object- Orientated Development Chapter 9 Design.
R R R CSE870: Advanced Software Engineering: Cheng (Sp 2001)CSE870: Advanced Software Engineering: Cheng (Sp 2001)1 Mini Project An Overview.
Week 3 Iteration 1 Domain Models System Sequence Diagrams.
Designing with Interaction and Design Class Diagrams Chapters 15 & 16 Applying UML and Patterns Craig Larman With some ideas from students in George Blank’s.
Applying UML and Patterns An Introduction to Object-oriented Analysis and Design and Iterative Development Part III Elaboration Iteration I – Basic1.
CIS 321—IS Analysis & Design
Systems Analysis and Design in a Changing World, Fifth Edition
Systems Analysis and Design in a Changing World, Fifth Edition
Mapping Designs to Code Larman, Chapter 20 CSE432 Object Oriented Software Engineering.
Chapter 18 Object Design Examples with GRASP. Objectives Design use case realizations –A use-case realization describes how a particular use case is realized.
Object-Oriented Design Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
Object-Oriented Analysis and Design OVERVIEW. Objectives  Describe Information Systems  Explain the role of a systems analyst  Introduce object-oriented.
Chapter 1 Object-Oriented Analysis and Design. Disclaimer Slides come from a variety of sources: –Craig Larman-developed slides; author of this classic.
12 Systems Analysis and Design in a Changing World, Fifth Edition.
1 SYS366 Lecture Visual Modeling and Business Use Case Diagrams.
Chapter 6: Structured Vs. Object Oriented Analysis and Design.
Object-Oriented Analysis and Design An Introduction.
1 ITEC 3010 “Systems Analysis and Design, I” LECTURE 10: Use Case Realizations [Prof. Peter Khaiter]
Object Oriented Design Jerry KotubaSYST Object Oriented Methodologies1.
Systems Analysis and Design in a Changing World, 3rd Edition
Chapter 1 Object-Oriented Analysis and Design. Disclaimer Slides come from a variety of sources: –Craig Larman-developed slides; author of this classic.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
Design Class Diagrams (DCDs)
1 COMP 350: Object Oriented Analysis and Design Lecture 1Introduction References: Craig Larman Chapter 1.
Chapter 16 Applying UML and Patterns Craig Larman
CS 4850: Senior Project Fall 2014 Object-Oriented Design.
NJIT UML Class Diagrams Chapter 16 Applying UML and Patterns Craig Larman.
Basic OOP Concepts and Terms. In this class, we will cover: Objects and examples of different object types Classes and how they relate to objects Object.
Sept Ron McFadyen1 Today Sept 16: Chapters 1, 2, 3 Introductory material Next Tuesday Sept 21: Rational Rose and Use Cases Chapter 6 - Use.
What to remember from Chap 13 (Logical architecture)
Chapter 1 Applying UML and Patterns. The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary.
A Student Guide to Object- Oriented Development Chapter 10 Designing objects and classes.
1 On To Object Design Chapter 14 Applying UML and Patterns -Craig Larman.
Chapter 10 Drawing System Sequence Diagrams
DOMAIN MODEL: ADDING ATTRIBUTES Identify attributes in a domain model. Distinguish between correct and incorrect attributes.
OBJECT-ORIENTED SOFTWARE DEVELOPMENT PROCESS BTS430 Systems Analysis and Design using UML.
Week 4 Operational Contracts Requirements to Design Logical Architecture.
TK2023 Object-Oriented Software Engineering CHAPTER 12 Introduction to Responsibility-Driven Design.
Chapter 1 OBJECT-ORIENTED ANALYSIS AND DESIGN Objectives Describe the book goals and scope Define OOA/D (Object-Oriented Analysis and Design) Illustrate.
Object-Oriented Analysis and Design Week 11, 2009.
Object Oriented Analysis and Design 1 Chapter 9 From Design to Implementation  Implementation Model  Forward, Reverse, and Round-Trip Engineering  Mapping.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
OO Methodology Elaboration Phase Iteration 1- Part 3.
04 - OOD Intro.CSC4071 Software Design ‘Requirements’ defines –The goals the system needs to satisfy. ‘Specification’ defines –The externally-observable.
Class Diagrams. Terms and Concepts A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships.
CSIS 4850: CS Senior Project – Spring 2009 CSIS 4850: Senior Project Spring 2009 Object-Oriented Design.
1 SYS366 Week 1 - Lecture 1 Introduction to Systems.
1 Unified Modeling Language Michael K. Wildes University of California, Riverside – Extension Program Presentation 2.
TK2023 Object-Oriented Software Engineering CHAPTER 11 CLASS DIAGRAMS.
BTS430 Systems Analysis and Design using UML Design Class Diagrams (ref=chapter 16 of Applying UML and Patterns)
Dr. Kivanc DincerCS319 Week 6 - Oct.17,20051 Chapter 14 Onto Object Design Objectives Understand dynamic and static object design modeling. Try agile modeling,
Object Oriented Analysis & Design By Rashid Mahmood.
Design Model: Determining Visibility CH-18. Objectives Identify four kinds of visibility. Design to establish visibility. Illustrate kinds of visibility.
Mapping Designs to Code. It specify how to map the design into object oriented language The UML artifacts created during the design work, the interaction.
 Sequence Diagrams Introduction.  Sequence Diagrams  Review Schedule Sheridan.
Object Design Examples with GRASP
Chapter 5: Object Oriented Analysis and Design
Chapter 1 OBJECT-ORIENTED ANALYSIS AND DESIGN
CS 519: Object-Oriented Analysis & Design IS 516: Selected Topics in Information Technology Instructor: Dr. Tarek Elghazaly Text Book: Craig Larman,
The Object Oriented Approach to Design
Chapter 11: Class Diagram
Week 3 Iteration 1 Domain Models System Sequence Diagrams.
Week 3 Iteration 1 Domain Models System Sequence Diagrams.
Chapter 11: Class Diagram
Presentation transcript:

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20051 Chapter 20 Mapping Designs to Code Objectives Map design artifacts to code in an object-oriented language. “ Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20052 Introduction With the completion of interaction diagrams and DCDs for the current iteration of the case studies, there is more than enough thought and detail to cut some code for the domain layer of objects. The UML artifacts created during design work will be used as inpıt to the code generation process. UP Implementation Model is all the implementation artifacts, such as source code, database definitions, JSP/XML/HTML pages, and so forth. Implementation in an O-O Language requires writing source code fo –Class and interface definitions –Method definitions.

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20053 Defining a Class with Method Signatures and Attributes Fig SalesLineItem in Java.

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20054 Creating Methods from Interaction Diagrams Fig The enterItem interaction diagram.

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20055 Fig The Register class.

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20056 Fig The enterItem method.

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20057 Fig Adding a collection. Collection Classes in Code

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20058 Fig Sale.makeLineItem method.

Dr. Kivanc DincerCS319 Week 11 - Nov.21,20059 Order of Implementation Fig Possible order of class implementation and testing.