Escolar Documentos
Profissional Documentos
Cultura Documentos
OBJECT-ORIENTED DATA
MODELING
Modern Database Management
11th Edition
Jeffrey A. Hoffer, V. Ramesh,
Heikki Topi
Represented as:
0..1, 0..*, 1..1, 1..*
Similar to
minimum/maximum
cardinality rules in EER
Binary
Ternary
Chapter 13-Web 2013 Pearson Education, Inc. Publishing as Prentice Hall
12
Figure 13-4 Examples of binary association relationships
a) University example
Alternative multiplicity
representation: specifying
the two possible values in a
list instead of a range
Object diagram
shows
associations
between specific
object instances
Binary association
class with attributes
and behavior
17
Chapter 13-Web 2013 Pearson Education, Inc. Publishing as Prentice Hall
17
Figure 13-6 Association class and link object (cont.)
b) Object diagram showing link objects
Association class
instances
Derived attribute
An employee
can only be one
Shared of these
attributes and subclasses
An employee
operations may be none
of them
A patient MUST
be EXACTLY one
of the subtypes Dynamic means a
patient can change from one subclass to
another over time.
Represented by underlining
Class-scope attributes
Methods only one value common
defined to all instances of these
at classes (includes default
subclass values)
level
Multiple
Classification: An object is an
instance of more than one class
Closed diamond
indicates composition.
The room cannot exist
without the building.
Three-
symbol
constraint
Two-symbol
constraint