11.3. Finding Associations—Common Associations List
Start the addition of associations by using the list in Table 11.1.
It contains common categories that are usually worth considering. Examples are drawn from the store and airline reservation domains.
Category | Examples |
---|---|
A is a physical part of B | Drawer—Register (or more specifically, a POST) Wing—Airplane |
A is a logical part of B | SalesLineItem—Sale FlightLeg—FlightRoute |
A is physically contained in/on B | Register—Store, Item—Shelf Passenger—Airplane |
A is logically contained in B | ItemDescription—Catalog Flight—FlightSchedule |
A is a description for B | ItemDescription—Item FlightDescription—Flight |
A is a line item of a transaction or report B | SalesLineItem—Sale MaintenanceJob—MaintenanceLog ... |
Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.