|Re: Documentation of the UML2/EMF codegen [message #1401918 is a reply to message #1401897]
||Wed, 16 July 2014 08:45
| Ed Willink
Registered: July 2009
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.
On 16/07/2014 09:14, Jürgen Mutschall wrote:
> 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
Powered by FUDForum
. Page generated in 0.03976 seconds