Professional Documents
Culture Documents
Object Technology
Page 2
Outline
Page 3
What is Object Technology
Page 4
What is Object Technology
Page 5
Analysis and Design Models
Page 6
Object
Page 7
Object - State
State
Page 8
Object - Behaviour
Sender Object
Recipient
Object
Message
Page 9
Class
Attributes (properties)
describes the information
an object holds to
represent its state
Operation defines the
behaviours of such objects
Page 10
Object – an instance of Class
Page 11
Transformer Vs Enquiry Operation
Transformer Operation
Enquiry Operation
Page 12
Messaging
A message identifies the recipient object and the name for the
operation to be performed.
The message name represents one of the operations of the class to
which the recipient belongs.
If the message requires any further details they are given as the message
parameters.
Operation
being asked to
execute
parameter
Page 13
Object/Class Relationships
Page 14
Multiplicity
Multiplicity –
the minimum
and maximum
number of
occurrences of
one
object/class for
a single
occurrence of
the related
object/class.
Page 15
Inheritance
Page 16
Inheritance
Page 17
UML Representation of Generalization/ Specialization
Page 18
Polymorphism
Page 19
Polymorphism - Override
Page 20
Polymorphism - Overload
Overload– a technique
whereby a subclass
(subtype) has an
attribute or behavior
with different parameter
from the class
(supertype).
Page 21
Summary by Example
Concept Example
Class Citizen
Attributes/Properties of Class Name, Birth date, Birthplace, Id Number, Address
Operation GetAge, GetName, GetId, ChangeAddress
Object Citizen A, Citizen B, Citizen C
State Sulaiman, 20 Agutus 2015, Surabaya, 012345, Keputih
Behaviour GetAge, GetName, GetId, ChangeAddress
Enquiry Operation GetAge, GetName, GetId
Transformer Operation ChangeAddress
Specialization WNI, WNA
Override When WNA has its own GetAge operation
Overload When WNA has its own GetId (Issue) operation
Page 22
Postest
Page 23
Next Agenda
Referensi:
Barclay K and Savage J. 2004. Object-Oriented Design with UML and
Java, Burlington: Elsevier Butterworth-Heinemann.gs
Boggs Wendy and Boggs Micheal. 2002. Michael Boggs. Mastering
UML with Rational Rose. Alameda: Sybex.
Page 24