Search code examples
oopumldata-modelingcardinality

How to *really* write UML cardinalities?


I would like to know once and for all how to write UML cardinalities, since I very often had to debate about them (so proofs and sources are very welcome :)

If I want to explain that a Mother can have several Children but a Child has one and only one Mother, should I write:

Mother * ---------- 1 Child

Or

Mother 1 ---------- * Child

?


Solution

  • the second one Mother 1 ----------------- 1..* Child

    You would find many example in the UML specification for all figure related to the Abstract Syntax...