这些是UML图中不同类型的多重性.
Multiplicity Option Cardinality
0..0 0 Collection must be empty
0..1 No instances or one instance
1..1 1 Exactly one instance
0..* * Zero or more instances
1..* At least one instance
5..5 5 Exactly 5 instances
m..n At least m but no more than n instances
Run Code Online (Sandbox Code Playgroud)
在此处查看更多信息.