Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Documentation of the UML2/EMF codegen(Urgent need for more information about the design of the codegen for subsetting and redefinition)
Documentation of the UML2/EMF codegen [message #1401897] Wed, 16 July 2014 08:14 Go to next message
Jürgen Mutschall is currently offline Jürgen MutschallFriend
Messages: 6
Registered: October 2013
Junior Member
Hi,

is there any documentation, description or design docs available (beside the source code) that describes the design ideas behind the UML2/EMF codegen?

Especially the source code for subsetting, derived subsets and redefintion is not self-explanatory.

Thank you

Juergen
Re: Documentation of the UML2/EMF codegen [message #1401918 is a reply to message #1401897] Wed, 16 July 2014 08:45 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4324
Registered: July 2009
Senior Member
Hi

I've not found it, so I have to work by empirical discovery.

The intention is to support the UML specification, so you should start
by understanding the concepts in UML 2.0 which is what the code was
written for. The code has evolved towards UML 2.5 but I don't think that
the underlying principles are affected. If you find that the code
deviates from UML 2.5 the you should raise a bug.

However many deviations are possible using the GenModel options, so you
must use the right options; these too are not documented. Evolution has
added additional GenModel options to enable new behaviors, but backward
compatibility tends to mean that traditional behavior is preserved so
you need to experiment.

That said, facilities such as subsets are powerful for modeling but
incur significant run time complexity, so in your own models you might
want to avoid them altogether.

UML itself, up until UML 2.5, had two variants, the full version with
all the subsets and a completely separate Basic Constructs version
without subsets. The Basic version supported usage of EMOF rather than CMOF.

Regards

Ed Willink


On 16/07/2014 09:14, Jürgen Mutschall wrote:
> Hi,
>
> is there any documentation, description or design docs available
> (beside the source code) that describes the design ideas behind the
> UML2/EMF codegen?
>
> Especially the source code for subsetting, derived subsets and
> redefintion is not self-explanatory.
>
> Thank you
>
> Juergen
Previous Topic:Notification problem with class package
Next Topic:Cannot Apply SysML Stereotypes
Goto Forum:
  


Current Time: Thu May 07 09:47:20 GMT 2015

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

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