FREE STUDENT LEARNING RESOURCE Β· SOFTWARE ENGINEERING
UML Class Diagram Multiplicities: Worked Example
Download an original two-page library-loan model, complete with a class diagram, multiplicity interpretation, common modelling errors, and a self-check question.
What this free sample explains
The example models Member, Loan and Book for a simple library system. Each Loan belongs to one Member and records one Book, while a Member or Book can appear in zero or many historical Loan records.
| Association end | Meaning |
|---|---|
| Member 1 β Loan 0..* | One member may have no loans or many loans; each loan has exactly one member. |
| Book 1 β Loan 0..* | Each loan concerns one book; a book may have multiple historical loans. |
Important: The diagram is a teaching example. It does not, by itself, enforce the rule that a physical book can be on loan to only one member at one time.
Continue with the complete tutorial
The full UML multiplicities guide explains how to read 0..1, 1, 0..* and 1..*, includes PlantUML source code and shows how to fix common assignment-design mistakes.
For an independent example, see PlantUML’s official class diagram documentation and the Object Management Group UML specification.
Need feedback on your own UML diagram?
Our tutors can help you interpret project requirements, review association multiplicities and explain corrections so you can submit your own work.
Request UML project guidanceΒ© Quality Assignment Help Β· Original instructional example for independent study; not a pre-written assessed submission.