Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Multiple inheritance problem (extending UML)
Multiple inheritance problem (extending UML) [message #626556] Wed, 14 May 2008 06:29
Joel Greenyer is currently offline Joel GreenyerFriend
Messages: 170
Registered: July 2009
Senior Member
(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.

Any ideas?

Thanks for helping

Previous Topic:[Announce] Papyrus component proposal
Next Topic:Copy-paste Association as a side-effect when pasting a Class
Goto Forum:

Current Time: Sun May 20 21:46:54 GMT 2018

Powered by FUDForum. Page generated in 0.01810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top