Presentation is loading. Please wait.

Presentation is loading. Please wait.

L18-S1 Getting Started 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.

Similar presentations


Presentation on theme: "L18-S1 Getting Started 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I."— Presentation transcript:

1 L18-S1 Getting Started 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José State University One Washington Square San José, CA 95192-0180 http://www.engr.sjsu.edu/~fayad

2 L18-S2 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 2 Lesson 18: Getting Started

3 L18-S3 Getting Started 2003 SJSU – CmpE --- M.E. Fayad Lesson Objectives 3 Learn how to deal with: î The identification of OO Artifacts î Test Objects/Classes î Create CRC Cards î Create Use Case Diagrams î Write Use Cases î Class Diagrams î Meta-Models

4 L18-S4 Getting Started 2003 SJSU – CmpE --- M.E. Fayad FamilyReunion Quotation and Bidding System Internet Based Supply Chain Management System Virtual Private Network 4 First Part: Identification Process

5 L18-S5 Getting Started 2003 SJSU – CmpE --- M.E. Fayad FamilyReunion Quotation and Bidding System Internet Based Supply Chain Management System Virtual Private Network 5 Second Part: Use Case Diagrams

6 L18-S6 Getting Started 2003 SJSU – CmpE --- M.E. Fayad FamilyReunion Quotation and Bidding System Internet Based Supply Chain Management System Virtual Private Network 6 Third Part: Use Cases

7 L18-S7 Getting Started 2003 SJSU – CmpE --- M.E. Fayad FamilyReunion Quotation and Bidding System Internet Based Supply Chain Management System Virtual Private Network 7 Fourth Part: CRC Cards

8 L18-S8 Getting Started 2003 SJSU – CmpE --- M.E. Fayad FamilyReunion Quotation and Bidding System Internet Based Supply Chain Management System Virtual Private Network 8 Fifth Part: Class Diagrams

9 L18-S9 Getting Started 2003 SJSU – CmpE --- M.E. Fayad  Create Class Diagrams  Correct Existing Models  Evaluate Models 9 Design Session Problems

10 L18-S10 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 10 Student Principal Teacher School 0..* PersonBook 0..* Borrow Room Playground Swing 0..* 1..* Door Chair 1..*0..* SchoolBoard 1..* Cafeteria Classroom Restroom ….. Computer Desk Ruler 0..*

11 L18-S11 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 11 File System * * * * * * * * 0,1

12 L18-S12 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 12 Building Store ** ** * * * * * * * * 0,1 Store

13 L18-S13 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 13 Meta Models: Abstract Class 1.. * Has subclasses Has direct instances Has subclasses Class Leaf class Non-leaf concreate class Abstract class Concrete class Instance subclass superclass 1.. *

14 L18-S14 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 14 Meta Models: Program (1) then-action target 0,1 * * * * * ****** * * * * Invoke 0,1 condition parameter else-action 2 2 2

15 L18-S15 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 15 * * * * * * ** * * * * * * * * * * * * * * 1 1 1 Program (2)

16 L18-S16 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 16 Meta Models: Undirected Graph (1) a b c d e

17 L18-S17 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 17 Meta Models: Undirected Graph (2)  Several variations are possible, depending on your viewpoint -- Here is the first model UndirectedGraph VertexEdge * * * 2

18 L18-S18 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 18 Meta Models: Undirected Graph (3) UndirectedGraph VertexEdge * * 2 Incidence *

19 L18-S19 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 19 Meta Models: Directed Graph (1) a b c d e

20 L18-S20 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 20 Meta Models: Directed Graph (2) DirectedGraph EdgeVertex * * * * From To  Using two associations

21 L18-S21 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 21 Meta Models: Directed Graph (3) DirectedGraph EdgeVertex * * *  Using a qualified association end

22 L18-S22 Getting Started 2003 SJSU – CmpE --- M.E. Fayad 1.Define and create meta models for any 5 concepts that you are familiar with.. 2.Define: Metamodels, metaclass, metadata. 22 Discussion Questions

23 L18-S23 Getting Started 2003 SJSU – CmpE --- M.E. Fayad Design Heuristics TOP More on Class Diagrams 23 Questions for the Next Lecture

24 L18-S24 Getting Started 2003 SJSU – CmpE --- M.E. Fayad Task 1: Viewing your work on Project 1 Task 2: Design Session P2 on Meta Models 24 Tasks for Next Lecture


Download ppt "L18-S1 Getting Started 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I."

Similar presentations


Ads by Google