|Re: Extending the Standard profile [message #628294 is a reply to message #628289]
||Wed, 03 March 2010 17:46
| Erhard Weinell
Registered: January 2010
Location: Kassel, Germany
Am 03.03.2010 07:15, schrieb Steven Stallion:|
> One area where I am a bit confused, is if I create a Stereotype in the
> profile and an extension to one of the custom metaclasses, I am unable
> to apply the Stereotype to a Class once the profile is defined and then
> applied to a Class diagram.
I do not quite get your scenario. So first you provide your own
metamodel - understood. Now you want to define a profile for these
metaclasses? Wouldn't it be a lot easier to define this metamodel
according to your needs from the beginning?
In general, do you not use the UML2 metamodel at all, or is there
another reason why you cannot simply stick to profiles?
> Is it possible to define an inheritance hierarchy between metaclasses
> (i.e. custom metaclass A inherits from uml::Class)?
Not in a profile. Stereotypes are the way to go here.
You can of course define your own metamodel library and reference UML
metaclasses therein - but in contrast to profiles, tool-support will be
quite close to non-existent when it comes to instantiate this metamodel.
UML tools are just not meant to be used completely without UML :)
> That said, I may be headed down the wrong path - what I truly need is a
> way to apply a metamodel construct to a Stereotype which extends
> uml::Class - if there is another way to do this, any pointers would be
What do you mean by "apply a metamodel construct"? Examples?
Powered by FUDForum
. Page generated in 0.01947 seconds