188k views
1 vote
Review the following diagram. Which answer provides the best interpretation of the multiplicities for the association between the Purchases (1...*) - (0...1) Cash Disbursements classes?

A. Each supplier must be paid for the purchases from that supplier
B. Disbursements are made after the purchases are recorded
C. One purchase can result in multiple payments to the supplier
D. Each check written to the supplier is for one specific purchase

1 Answer

1 vote

Final answer:

The multiplicity (1...*) for Purchases indicates multiple purchases can be associated with a Cash Disbursement, while the (0...1) multiplicity for Cash Disbursements means that a Purchase may not necessarily have a corresponding Cash Disbursement, but when it does, it is linked to one specific purchase.

Step-by-step explanation:

The multiplicities in the association between the Purchases and Cash Disbursements classes in UML (Unified Modeling Language) indicate the rules of association or interaction between two classes or entities. The multiplicity (1...*) next to the Purchases class suggests that for each Cash Disbursement, there can be one or more associated Purchases.

Conversely, the multiplicity (0...1) next to Cash Disbursements implies that a Purchase does not necessarily have to be immediately followed by a Cash Disbursement, and there can be at most one Cash Disbursement associated with a Purchase. Therefore, the best interpretation of these multiplicities is option D: Each check written to the supplier is for one specific purchase, which implies that while a purchase can exist without an immediate disbursement, each cash disbursement is linked to a specific purchase.

User Berliner
by
7.2k points