Chapter 6
Object Modeling
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part.
, O-O methodology is popular because it
integrates easily with object-oriented
programming languages such as Java, Smalltalk,
VB.Net, Python, and Perl
Programmers also like O-O code because it is
modular, reusable, and easy to maintain
The end product of O-O analysis is an object
model
◦ Object model: Represents the information system in
terms of objects and O-O concepts
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part. 2
, Object-Oriented Terms and Concepts
◦ Unified modeling language (UML)
Method of visualizing and documenting an information
system
◦ Attributes: Characteristics that describe an object
◦ Methods: Tasks or functions that the object performs
◦ Message: Command to perform a specific function
◦ A class is a group of similar objects
Instance: Specific member of a class
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part. 3
, Objects
◦ Represented as a
rectangle
The object name is at
the top, followed by
the object’s attributes
and methods
FIGURE 6-1 Objects have attributes,
can send and receive messages, and
perform actions called methods.
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part. 4
Object Modeling
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part.
, O-O methodology is popular because it
integrates easily with object-oriented
programming languages such as Java, Smalltalk,
VB.Net, Python, and Perl
Programmers also like O-O code because it is
modular, reusable, and easy to maintain
The end product of O-O analysis is an object
model
◦ Object model: Represents the information system in
terms of objects and O-O concepts
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part. 2
, Object-Oriented Terms and Concepts
◦ Unified modeling language (UML)
Method of visualizing and documenting an information
system
◦ Attributes: Characteristics that describe an object
◦ Methods: Tasks or functions that the object performs
◦ Message: Command to perform a specific function
◦ A class is a group of similar objects
Instance: Specific member of a class
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part. 3
, Objects
◦ Represented as a
rectangle
The object name is at
the top, followed by
the object’s attributes
and methods
FIGURE 6-1 Objects have attributes,
can send and receive messages, and
perform actions called methods.
Copyright ©2017 Cengage Learning. All Rights Reserved. May not be scanned, copied
or duplicated, or posted to a publicly accessible website, in whole or in part. 4