Having a class Customer that has a list of up to 10 Orders:
Customer
--------
+orders:Order[0..10]
But that means Customer is associated with Order class via aggregation, also:
Customer Order
-------- <>-------------------> --------
+orders:Order[0..10]
Should I also indicate 0-10 in the class association? Because I saw many diagrams do but on the other hand, this is specified in the attribute of Customer.