1 CS 426 Senior Projects Chapter 7: Classes and Objects & Chapter 8: Finding Analysis Classes [Arlow and Neustadt, 2002] February 14, 2006.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Object Modeling – Class Diagrams
Advertisements

Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
Chapter 5: Advanced Use Case Modeling [Arlow and Neustadt, 2005] CS 426/CPE 426 Senior Projects University of Nevada, Reno Department of Computer Science.
Chapter 7: Classes and Objects Chapter 8: Finding Analysis Classes [Arlow and Neustadt, 2005] CS 426/CPE 426 Senior Projects University of Nevada, Reno.
1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2002] February 8, 2007.
1 CS 426 Senior Projects Chapter 9: Relationships Chapter 10: Inheritance and Polymorphism [Arlow and Neustadt, 2005] February 12, 2009.
1 CS 426 Senior Projects Chapter 19: Interfaces and Components [Arlow & Neustadt 2005] February 28, 2008.
1 CS 426/CPE 426 Senior Projects Chapter 5: Advanced Use Case Modeling [Arlow and Neustadt, 2002] February 13, 2007.
Chapter 5: Advanced Use Case Modeling [Arlow and Neustadt, 2005] CS 426/CPE 426 Senior Projects University of Nevada, Reno Department of Computer Science.
1 CS 426 Senior Projects Chapter 9: Relationships Chapter 10: Inheritance and Polymorphism [Arlow and Neustadt, 2002] February 27, 2007.
1 CS 425 Software Engineering Project Preparation Use Case Modeling [Based on Chapters 3 & 4, Arlow and Neustadt, “UML and the Unified Process,” Addison-Wesley,
1 CS 426 Senior Projects Chapter 14: Activity Diagrams [Arlow and Neustadt, 2005] February 17, 2009.
1 Basic Object-Oriented Concepts  Object-Oriented Paradigm What is an Object?  What is a Class?  Constructing Objects from a class Problem Solving in.
1 CS/CPE 426 Senior Projects Chapter 21: State Machines Chapter 22:Advanced State Machines [Arlow and Neustadt 2005] March 24, 2009.
1/31 CS 426 Senior Projects Chapter 1: What is UML? Chapter 2: What is UP? [Arlow and Neustadt, 2005] January 22, 2009.
1 CS 426 /CPE 426 Senior Projects Chapter 7: Classes and Objects & Chapter 8: Finding Analysis Classes [Arlow and Neustadt, 2005] February 19, 2008.
1 CS 426/CPE 426 Senior Projects Chapter 5: Advanced Use Case Modeling [Arlow and Neustadt, 2005] February 14, 2008.
1 CS 426 Senior Projects Chapter 4: Use Case Modeling [Arlow and Neustadt, 2005] February 5, 2009.
1 CS 691z / 791z Topics on Software Engineering Chapter 17: Interfaces and Subsystems [Arlow & Neustadt, 2002] March 6, 2007.
NJIT Designing for Visibility Chapter 19 Applying UML and Patterns Craig Larman.
1 CS 426 Senior Projects Chapter 1: What is UML? Chapter 2: What is UP? [Arlow and Neustadt, 2002] January 26, 2006.
Object-Oriented Analysis and Design
What is UML? What is UP? [Arlow and Neustadt, 2005] January 23, 2014
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
Chapter 7: Classes and Objects Chapter 8: Finding Analysis Classes [Arlow and Neustadt, 2005] CS 426 Senior Projects in Computer Science University of.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Unified Modeling Language, Version 2.0
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 02. Objects,
Chapter 16 Applying UML and Patterns Craig Larman
NJIT UML Class Diagrams Chapter 16 Applying UML and Patterns Craig Larman.
Lecture 6: Structural Modeling
Chapter 4: Use Case Modeling [Arlow and Neustadt, 2005] CS 790M Project preparation (II) University of Nevada, Reno Department of Computer Science & Engineering.
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
Relationships Relationships between objects and between classes.
Chapter 10 Classes and Objects In-Depth. Chapter 10 A class provides the foundation for creating specific objects, each of which shares the general attributes,
Chapter 19: Interfaces and Components [Arlow and Neustadt, 2005] University of Nevada, Reno Department of Computer Science & Engineering.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Chapter 14: Activity Diagrams November 2015 [Arlow and Neustadt, 2005] CS 425/625 Senior Projects University of Nevada, Reno Department of Computer Science.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Chapter 6: The Analysis Workflow Chapter 7: Classes and Objects Chapter 8: Finding Analysis Classes [Arlow and Neustadt, 2005] CS 426 Senior Projects in.
UML Fundamental Elements. Structural Elements Represent abstractions in our system. Elements that encapsulate the system's set of behaviors. Structural.
Chapter 9: Relationships Chapter 10: Inheritance and Polymorphism [Arlow and Neustadt, 2005] CS 426 Senior Projects in Computer Science University of Nevada,
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
What is UML? What is UP? [Arlow and Neustadt, 2005] October 5, 2017
Chapter 4: Use Case Modeling
Chapter 19: Interfaces and Components
CS 426 Senior Projects Chapter 9: Relationships
CS/CPE 426 Senior Projects
Chapter 7: Classes and Objects Chapter 8: Finding Analysis Classes
Chapter 5: Advanced Use Case Modeling
Introduction to UML.
Chapter 4: Use Case Modeling
Chapter 14: Activity Diagrams
Chapter 20 Object-Oriented Analysis and Design
Chapter 7: Classes and Objects Chapter 8: Finding Analysis Classes
Chapter 19: Interfaces and Components
CS/CPE 426 Senior Projects
Chapter 19: Interfaces and Components
Chapter 14: Activity Diagrams
Chapter 4: Use Case Modeling
Chapter 14: Activity Diagrams
CS 420/620 HCI Use Case Modeling Project Preparation
CS 425 Software Engineering
CS 791Z State Machines & Advanced State Machines
CS 425/625 Software Engineering
Chapter 16 UML Class Diagrams
Interfaces and Components
Chapter 19: Interfaces and Components
Presentation transcript:

1 CS 426 Senior Projects Chapter 7: Classes and Objects & Chapter 8: Finding Analysis Classes [Arlow and Neustadt, 2002] February 14, 2006

2 Outline Objects UML Notation for Objects Classes UML Notation for Classes UP Activity: Analyze Use Cases Analysis Classes Finding Analysis Classes

3 Objects Object = “A discreet entity with well-defined boundary that encapsulates state and behavior, an instance of a class” [J. Rumbaugh] Properties of objects: Identity State Behavior

4 Objects: Encapsulation Fig. 7.2 [Arlow & Neustadt, 2002]

5 Objects: Messaging Figure 7.3 [Arlow & Neustadt, 2002]

6 Objects: UML Notation Figure 7.4 [Arlow & Neustadt, 2002]

7 Classes Class = “The descriptor for a set of objects that share the same attributes, operations, methods, relationships, and behavior” [J. Rumbaugh] Every object is an instance of exactly one class Choosing the right classification scheme is a key factor in object-oriented analysis and design

8 Classes: Classification of Objects Figure 7.5 [Arlow & Neustadt, 2002] Classifying objects  determining classes

9 Classes: Relationship with Objects. Figure 7.6 [Arlow & Neustadt, 2002] > relationship

10 Classes:.Relationship with Objects The > relationship is a stereotype of the dependency relationship Dependency: “A relationship between tow elements in which a change to one element (the supplier) may affect or supply information needed by the other element (the client)”.

11 Classes: UML Notation…… Figure 7.7 [Arlow & Neustadt, 2002]

12 Classes:.UML Notation….. Figure 7.8 [Arlow & Neustadt, 2002] The attribute compartment

13 Classes:..UML Notation…. Table 7.3 [Arlow & Neustadt, 2002] Visibility types

14 Classes: …UML Notation… Table 7.4 [Arlow & Neustadt, 2002]: Visibility semantics in UML, Java and C#

15 Classes: ….UML Notation.. Figure 7.10 [Arlow & Neustadt, 2002] Operations

16 Classes: …..UML Notation. Figure 7.11 [Arlow & Neustadt, 2002] Class stereotypes

17 Classes: ……UML Notation Figure 7.13 [Arlow & Neustadt, 2002] Constructors Figure 7.14 [Arlow & Neustadt, 2002] Class Scope

18 Classes: Analysis Classes.. Figure 8.2 [Arlow & Neustadt, 2002]

19 Classes:.Analysis Classes. Figure 8.3 [Arlow and Neustadt, 2002] Example of Analysis Class

20 Classes:..Analysis Classes Figure 8.4 [Jim Arlow and Ila Neustadt, 2002] Brainstorming, part of CRC analysis technique