Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Matthias Becker on February 22, 2010, 04:28:51 am

Title: How to model an Interface with a generic type
Post by: Matthias Becker on February 22, 2010, 04:28:51 am
Hi

  Me and some colleagues of mine have searched last week for a way to model a generic interface with EA. Unfortunately, neither of us was successful  :(

  Therefore: How do you model an interface with a generic type? Such as (as in Java):

public interface A<T> {}

  The help says something about tagged values (but only for methods). With imported code, EA draws a class or an interface with an additional box at the upper right corner of the interface/class (i honestly have forgotten the correct term for that box at the moment... sorry). What am i missing?

Thanks
Title: Re: How to model an Interface with a generic type
Post by: Geert Bellekens on February 22, 2010, 06:08:21 pm
Matthias,

Look here: http://www.sparxsystems.com/uml_tool_guide/uml_dictionary/parameterisedclassestemplate.html

Geert