Skip to main content



      Home
Home » Modeling » UML2 » Multiple inheritance problem (extending UML)
Multiple inheritance problem (extending UML) [message #626556] Wed, 14 May 2008 02:29
Eclipse UserFriend
Hi,
(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

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


Current Time: Sun Aug 31 03:57:05 EDT 2025

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

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

Back to the top