Model-Based Systems Engineering with GENESYS

Aggregation vs Association

• An aggregation is when two objects are tightly bound • An association is when two objects are independent but linked

Company

Division

Department

works for

Person

Ref: Object-Oriented Modeling & Design, Rumbaugh, et al.

463

Aggregation vs Generalization • Aggregation relates to instances • Generalization relates to classes

Lamp

Fluorescent Lamp

Incandescent Lamp

Base

Cover

Switch

Wiring

Ballast

Twist Mount

Starter

Socket

Ref: Object-Oriented Modeling & Design, Rumbaugh, et al.

464

Made with FlippingBook - Online Brochure Maker