Reputation: 22006
I have a few questions about UML:
ArrayList<myclass>
, is correct to say that this class uses myclass
? Upvotes: 0
Views: 145
Reputation: 14111
No. The properties are inherited implicitly, no need to model them explicitly again.
Yes, if you mean that the ArrayList contains only member of myclass - just draw an to-n association to myclass.
You can use UML templates for parameterization. It looks like this. But don't use it for collections - using to-n associations (like in 2) is better.
Upvotes: 1