|Re: [newbie] Basic Types in UML [message #628438 is a reply to message #628435]
||Fri, 07 May 2010 16:56
| Christian W. Damus
Registered: July 2009
UML has a template construct call TemplateSignature that you can use to
define parameters for types. To see how it works, I suggest that you
look at the Ecore.UML model provided by the UML2 project, or convert any
Ecore model that defines generic types to UML.
As for OCL, it defines a few parameterized types in the standard
library, but provides no means to define new parameterized types of your
own nor even a syntax to for working with parameterized types in your
UML model. It's a pretty big hole in the language ...
On 05/05/10 09:39 AM, orlin wrote:
> How can I use basic types, such as Map, String, etc?
> Can I represent generic types (Map <String, String>) in UML (or can I do
> so only in OCL)?
Powered by FUDForum
. Page generated in 0.02291 seconds