Let's say I have a Thing, and it has zero or more Widgets, but I want to indicate that the collection of Widgets is supposed to be a Map<String,Widget>? This is the best I've come up with (somehow tack on some constraint text):
Thing "1" *-- "0..*" Widget : widgets { Map<String,Widget> }
Is there a better way?