 UML Intro  Objects  Object-Oriented Concepts  Classes  Attributes  Operations  Responsibilities & Constraints  Notes 1 SDES 6300 January 2011.

Slides:



Advertisements
Similar presentations
UML and Classes, Objects and Relationships [1]
Advertisements

UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
CIT731: Database Development Object Oriented Modeling (OOM)
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
 2006 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
 2006 Pearson Education, Inc. All rights reserved Midterm review Introduction to Classes and Objects.
© 2005 Prentice Hall8-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Page 1  Copyright © 1997 by Rational Software Corporation Class Diagrams A class diagram shows the existence of classes and their relationships in the.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
ASP.NET Programming with C# and SQL Server First Edition
Week 3 Recap CSE 115 – Spring Constructor Special capability of a class that sets up the initial state of the object. Constructor definitions are.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 1 Introduction to Object-Oriented Programming.
Objects CSE 115 Spring 2006 January 25, Object-Oriented Program System of objects that communicate with one another and work together to solve a.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
UML Class Diagrams: Basic Concepts. Objects –The purpose of class modeling is to describe objects. –An object is a concept, abstraction or thing that.
Object-Oriented Analysis and Design
 2009 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
Unified Modeling Language User Guide Section 2—Basic Structural Modeling Chapter 4—Classes.
Centre for Computer Technology ICT115 Object Oriented Design and Programming Week 2 Intro to Classes Richard Salomon and Umesh Patel Centre for Information.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Chapter 1 Introduction to Object-Oriented Programming and.
Chapter 5 - Writing a Problem Domain Class Definition1 Chapter 5 Writing a Problem Domain Class Definition.
Chapter 10: Writing Class Definitions Visual Basic.NET Programming: From Problem Analysis to Program Design.
You gotta be cool. Introduction to Classes, Objects and Strings Introduction Defining a Class with a Member Function Defining a Member Function with a.
Chapter 5 Entity–Relationship Modeling
11 Partnership for Performance How to hear this lecture Click on the icon: to hear the narration for each slide.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 9: Interaction.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 5: Modelling with Classes.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Systems Analysis & Design 7 th Edition Chapter 5.
Systems Analysis and Design 8 th Edition Chapter 6 Object Modeling.
1 Chapter 8 – Classes and Object: A Deeper Look Outline 1 Introduction 2 Implementing a Time Abstract Data Type with a Class 3 Class Scope 4 Controlling.
Unified Modeling Language © 2002 by Dietrich and Urban1 ADVANCED DATABASE CONCEPTS Unified Modeling Language Susan D. Urban and Suzanne W. Dietrich Department.
Fall 2010 CS4310 Requirements Engineering A Brief Review of UML & OO Dr. Guoqiang Hu Department of Computer Science UTEP 1.
Chapter Eleven Classes and Objects Programming with Microsoft Visual Basic th Edition.
Matakuliah : 0554M / Pengembangan Sistem Informasi Object-Oriented Analysis and Modeling Using the UML Week 6.
Reformatted slides from the textbook, C++ How to Program, 6/e Pearson Education, Inc. All rights reserved Chapter 3. [Lecture 02] Introduction to.
Java™ How to Program, 10/e © Copyright by Pearson Education, Inc. All Rights Reserved.
Object-Oriented Paradigm and UML1 Introduction to the Object- Oriented Paradigm.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Introduction to Object Modeling
Chapter 5 System Modeling Sommerville, "software engineering ", 9 th Ed., 2011.
Programming with Microsoft Visual Basic 2012 Chapter 11: Classes and Objects.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 27 I Love this Class.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
計算機程式語言 Lecture 03-1 國立台灣大學生物機電系 林達德 3 3 Introduction to Classes and Objects.
 2005 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
CSCI-383 Object-Oriented Programming & Design Lecture 25.
Chapter 7 Classes and Methods III: Static Methods and Variables Lecture Slides to Accompany An Introduction to Computer Science Using Java (2nd Edition)
Object-Oriented Software Engineering Practical Software Development using UML and Java Modelling with Classes.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
C++ How to Program, 8/e © by Pearson Education, Inc. All Rights Reserved.
1 Design Object Oriented Solutions Object Oriented Analysis & Design Lecturer: Mr. Mohammed Elhajj
 2007 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Object Oriented Concepts -I
The Process of Object Modeling
Session III Chapter 6 – Creating DTDs
Creating and Using Classes
UML Class Diagrams: Basic Concepts
Object Oriented Analysis and Design
Chapter 3 Introduction to Classes, Objects Methods and Strings
Understand and Use Object Oriented Methods
Object Oriented Programming in java
Session II Chapter 6 – Creating DTDs
(Software) reuse, is the use of (Software) knowledge, to build new (something) software.
Presentation transcript:

 UML Intro  Objects  Object-Oriented Concepts  Classes  Attributes  Operations  Responsibilities & Constraints  Notes 1 SDES 6300 January 2011

The information contained in the following slides has been referenced from:  Textbook, Chapter 1, Pages 29 – 35  Textbook, Chapter 6, Pages , SDES 6300 January 2011

 Developed in the mid 1990’s  Broken into 2 major types of representations: Structure and Behavioral  Structure represents Objects within the System to be described (Class, Object, Package, etc)  Behavioral represent behavior of Objects (Activity, Sequence, Use Case) SDES 6300 January

 Represented as a rectangle in the UML  By convention, the name of the class starts with an initial uppercase letter  The package name can also appear in a class name – double colons separate the package name and the class name 4 WashingMachineHousehold::WashingMachine SDES 6300 January 2011

 An attribute is a property of a class  A class may have zero or more attributes 5 SDES 6300 January 2011

 An attribute can show its type as well as a default value 6 SDES 6300 January 2011

 An operation is something a class can do  You can show an operation’s parameter name & its type by including it in the parentheses after the operation name  You can also show the value an operation returns and its value’s type (known as a function) 7 SDES 6300 January 2011

 An ellipsis … indicates that the displayed attributes or operations aren’t the whole set. Omitting some or all of the attributes or operations is called eliding a class  You can use a keyword to organize a list of attributes or operations. A keyword is enclosed inside two pairs of small angle brackets called guillemets 8 SDES 6300 January 2011

9

 Classes are the vocabulary and terminology of an area of knowledge  Be alert to the nouns that clients use to describe the entities in their business – the nouns will become classes in your model  The verbs that you hear constitute the operations in those classes  The attributes will emerge as nouns related to the class nouns 10 SDES 6300 January 2011

 First create a system by creating a set of classes (component based approach to software development)  Then expand the system by adding capabilities and adding new components  Then reuse the classes you created when you build a new system 11 SDES 6300 January 2011

 Class - type of thing  Class is the general category, object is a specific instance  Each object in a class should be identifiable in some way  An object has attributes & operations (or properties & behaviours) 12 SDES 6300 January 2011