Ibm notes_2 - Principles of Object Technology Instructor...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Principles of Object Technology Instructor Notes Module 3 - Concepts of Object Orientation 1 Page 1 1 IBM Software Group ® Essentials of Visual Modeling with UML 2.0 Module 3: Concepts of Object Orientation 2 Objectives Describe abstraction, encapsulation, modularity, and hierarchy. Describe the physical structure of a class. Describe the relationship between a class and an object. Define polymorphism and generalization.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Principles of Object Technology Instructor Notes Module 3 - Concepts of Object Orientation 2 Page 2 3 Where Are We? What is an object? Four principles of OO What is a class? Polymorphism and generalization Organizing model elements 4 Informally, an object represents an entity, either physical, conceptual, or software. Physical entity Conceptual entity Software entity Truck Chemical Process Linked List What Is an Object?
Background image of page 2
Principles of Object Technology Instructor Notes Module 3 - Concepts of Object Orientation 3 Page 3 5 A More Formal Definition An object is an entity with a well - defined boundary and identity that encapsulates state and behavior. State is represented by attributes and relationships. Behavior is represented by operations, methods, and state machines. Object Operations Attributes 6 An Object Has State State is a condition or situation during the life of an object, which satisfies some condition, performs some activity, or waits for some event. The state of an object normally changes over time. Name: J Clark Employee ID: 567138 Date Hired: July 25, 1991 Status: Tenured Discipline: Finance Maximum Course Load: 3 classes Name: J Clark Employee ID: 567138 HireDate: 07/25/1991 Status: Tenured Discipline: Finance MaxLoad: 3 Professor Clark
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Principles of Object Technology Instructor Notes Module 3 - Concepts of Object Orientation 4 Page 4 7 An Object Has Behavior Behavior determines how an object acts and reacts. The visible behavior of an object is modeled by a set of messages it can respond to (operations that the object can perform). Professor Clark’s behavior Submit Final Grades Accept Course Offering Take Sabbatical Set Max Load S u b m i t F n a l G r d e s ( ) A c p tC o O ffe in g () TakeSabbatical() Professor Clark M x L 8 An Object Has Identity Each object has a unique identity, even if the state is identical to that of another object. Professor “J Clark” teaches Biology Professor “J Clark” teaches Biology
Background image of page 4
Principles of Object Technology Instructor Notes Module 3 - Concepts of Object Orientation 5 Page 5 9 Where Are We? What is an object?
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/10/2010 for the course PROGRAMMIN 2860U taught by Professor Saman during the Fall '10 term at UOIT.

Page1 / 20

Ibm notes_2 - Principles of Object Technology Instructor...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online