9

What's the difference between the operator * and the operator 0..* in UML (unified modeling language)?

I saw this two cardinality operators, but I don't now which one I must to use.

marc_s
  • 675,133
  • 158
  • 1,253
  • 1,388
guisantogui
  • 3,608
  • 6
  • 45
  • 83

1 Answers1

12

The notation '*' is a shortcut for '0..*'. the correct notation to use in this case is '*'. From the UML 2.4 spec:

A multiplicity with zero as the lower bound and an unspecified upper bound may use the alternative notation containing a single star “*” instead of “0..*.”

Xaelis
  • 1,519
  • 9
  • 16