Bound Attributes in UML using Template Parameters

Wotcha folks.

I’m attempting to model a System.Collections.Generic.List as a Template Class, and then use that as an attribute type bound to a specific type.

The following article is great except for the end bit, where it doesn’t show you how to actually bind the attribute:
http://resource.visual-paradigm.com/uml_diagrams/class_diagram/drawing_class_with_template_parameter.html?s=generics

I’ve been around UML a while, but am relatively new to this tool. I would be grateful if someone could add the last piece of the puzzle so I can get on finishing this model.

Many Thanks,

Kian Ryan

Hi kianryan,

Please read the attached image to see if this is what you are looking for.

Best regards,
Jick

bound.png

Yep, this is what I’m after, I’m not sure how to achieve it though.

Kian

[quote=Jick]Hi kianryan,

Please read the attached image to see if this is what you are looking for.

Best regards,
Jick
[/quote]

Great!

If there is anything else that I can do to help please do not hesitate to ask.