Software Engineering Lecture 10.

Slides:



Advertisements
Similar presentations
UML (cont.) “The Unified Modeling Language User Guide” by G. Booch, J. Rumbaugh and I. Jacobson ● Classes ● Relationships ● Class diagrams ● Examples.
Advertisements

Object-Oriented Analysis and Design: Object Modeling – Class Diagrams
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Modelling classes Drawing a Class Diagram. Class diagram First pick the classes –Choose relevant nouns, which have attributes and operations. Find the.
2-1 © Prentice Hall, 2004 Chapter 2: Introduction to Object Orientation (Adapted) Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra,
PRJ566: PROJECT PLANNING AND MANAGEMENT Class Diagrams.
UML Class Diagrams: Basic Concepts. Objects –The purpose of class modeling is to describe objects. –An object is a concept, abstraction or thing that.
BACS 287 Basics of Object-Oriented Programming 1.
 2008 Pearson Education, Inc. All rights reserved (Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements.
1 A Student Guide to Object- Orientated Systems Chapter 4 Objects and Classes: the basic concepts.
OBJECT AND CLASES: THE BASIC CONCEPTS Pertemuan 8 Matakuliah: Konsep object-oriented Tahun: 2009.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 15: Object-Oriented Data Modeling Modern Database Management 9 h Edition Jeffrey A.
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Using COMET with Visio Visio UML Modeling. Creating a Drawing After opening Visio, you will see a list of templates available.
CSCI-383 Object-Oriented Programming & Design Lecture 10.
Database Design – Lecture 12 Object Oriented Database Design cont’d.
Chapter 12 Object-oriented design for more than one class.
Chapter 4 Basic Object-Oriented Concepts. Chapter 4 Objectives Class vs. Object Attributes of a class Object relationships Class Methods (Operations)
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
Basic Concepts of OOP.  Object-Oriented Programming (OOP) is a type of programming added to php5 that makes building complex, modular and reusable web.
CLASS DIAGRAMS A classy approach to objects. The Basic Class Diagram  Class Name  Attributes (- indicates private each would have properties or accessor/mutator.
ITEC0724 Modern Related Technology on Mobile Devices Lecture Notes #2 1.
Basic ER modeling was adequate for simpler databases, but in the 1980’s more demanding databases required more extensive modeling requirements. Some such.
Class Diagram Lecture # 1. Class diagram A Class Diagram is a diagram describing the structure of a system shows the system's classes Attributes operations.
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 programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
CHAPTER
CompSci 280 S Introduction to Software Development
Object Oriented Programming
Object-Oriented Modeling
Business System Development
OBJECT ORIENTED CONCEPT
Visit for more Learning Resources
Object-Oriented Programming Basics
Object-Oriented Analysis and Design
Chapter 5:Design Patterns
EKT472: Object Oriented Programming
Chapter 11 Object-Oriented Design
Fundamentals of OO.
Class diagram Description
UML PPt by: Hong Qing Yu.
Software Engineering System Modeling Chapter 5 (Part 2) Dr.Doaa Sami
Software Engineering System Modeling Chapter 5 (Part 2) Dr.Doaa Sami
UML Class Diagrams: Basic Concepts
UML Diagrams: The Static Model Class Diagrams
Object Oriented Analysis and Design
Domain Class Diagram Chapter 4 Part 2 pp
Engineering Quality Software
Lec 3: Object-Oriented Data Modeling
Software Engineering Lecture #11.
Object-Oriented Programming
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Software Engineering System Modeling Extra examples Dr.Doaa Sami
Understand and Use Object Oriented Methods
Chapter 2 Underpinnings of Requirements Analysis
Workshop for Programming And Systems Management Teachers
Class Diagrams Defines Graph Structures 2014
Object Oriented Analysis and Design
Chapter 5.
Information System Design
Appendix A Object-Oriented Analysis and Design
The Object Model Lecture OO02 Classes as Abstract Data Types
The Object Paradigm Classes – Templates for creating objects
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Chapter 11: Class Diagram
Cheng (Sp2001): Object-Oriented Development Overview
Presentation transcript:

Software Engineering Lecture 10

Object Orientation An object is something that exists in the context of a system. An object is instance of class

Classes A class is a category into which objects can be organized. A Class is also a template from which objects can be created. Classes ( and the objects within Class have) Attributes: properties ( size, color, gender) Operations: Functionality ( swim, eat, be eaten)

Inheritance

Relationship Objects do not exist in isolation, they exists in relationship to other objects.

Generalization In generalization the child class is based on the parent class. The relationship indicates that two classes are similar but have some differences.

Association Association means that two classes are connected (i.e., related) in some way. Information about one class is linked to data about another class. One class works with another to perform a task. One class acts upon the other class For example: Shark fish eats the GoldFish

AGGREGATION Aggregation indicates a relationship between a whole and its parts.

COMPOSITION Composition is a strong form of aggregation In this kind of relationship each part may belong to one whole.

COMPOSITION-Cont.. In composition relationship, when the whole is destroyed, its parts are also destroyed, as well.

MULTIPLICITY Multiplicity shows number of objects that can participate in a relationship. One class occupies one classroom. (1-to-1) One teacher teaches many classes.(1-to-*) Many_to_Many One teacher teaches many students. One students learn from many teachers.

POLYMORPHISM An ability to take on many different forms. Polymorphism applies to : Objects Operations

Polymorphic Objects A Polymorphic object is one whose true type hides within a superclass

Polymorphic Operation In Polymorphic Operation, the operation may be carried out in different ways based on the class of the object that’s doing the operation.