Introduction To OOAD
Introduction To OOAD
operation.
A method is the implementation of an operation.
)
Class Association
◦ Classes (objects) must interact with each other
so that a piece of software can do something.
◦ How do classes/objects therefore interact?
◦ How are associations modelled?
Class Association
◦ An association represents a family of links.
◦ Binary associations (with two ends) are normally represented as a
line.
◦ An association can be named, and the ends of an association can
be adorned with role names, ownership indicators, multiplicity,
visibility, and other properties.
◦ There are four different types of association:
bi-directional, uni-directional, Aggregation (includes
)
most appropriate.
◦ However, when representing a software or database relationship,
e.g., car model engine ENG01 is part of a car model CM01, an
)