|Multiple inheritance problem (extending UML) [message #626556]
||Wed, 14 May 2008 06:29
| Joel Greenyer
Registered: July 2009
(this is mainly an EMF-related question, but deals with extending UML2)
I want to extend UML2 and particularly need to introduce another metaclass which breaks the typing concept of UML: I
need something which is an Instance (Property) and Type (Class) at the same time.
Therefore, my first approach is to inherit from both Class and Property. However, the EMF code generation produces code
with a lot of missing methods. Is there any way to do this correctly? I tried hand-fixing the code, but I'm not sure
that it contains no errors, plus it'll be awkward to maintain.
Another approach could be to to work with Property and Class as is, but to maintain them such that each Property has a
unique type-Class. However, I feel that this will need a lot of extra customization in the editors.
Thanks for helping
Powered by FUDForum
. Page generated in 0.01291 seconds