Book a Demo

Author Topic: Creating the MOF metamodel package  (Read 3356 times)

vladisld

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Creating the MOF metamodel package
« on: September 25, 2007, 11:01:21 pm »
Hi!

I'm using the EA 7.0.815 version and try to create the MOF metamodel package. According to the documentation, the new package must be assigned the 'metamodel' stereotype. The problem is that such a stereotype simply doesn't exists. It doesn't appear as an option in the package's property pages nor in 'Settings'->'UML'->'Stereotypes' list.

Anything I'm missing ?

Thanks.
Vlad.

vladisld

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Creating the MOF metamodel package
« Reply #1 on: September 25, 2007, 11:58:06 pm »
Creating the 'metamodel' stereotype manually seems to fix the issue and MOF 1.4 export is working as expected now.

Thanks.
Vlad

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Creating the MOF metamodel package
« Reply #2 on: September 26, 2007, 02:23:14 am »
Vlad,

Your workaround sounds reasonable.

This pattern - the need to explicitly create a stereotype, which EA then handles gracefully - occurs frequently. In some cases it is documented, but not in others. These documentation issues are being addressed lately as they are identified.]

[Roy and others, here's another case you'll want to correct.]

Still, this also points to an area where the 'core' EA data set is getting out of date.

Perhaps some kind of fix needs to be made, with an updated EABase being offered as a download. Or maybe Sparx could offer periodic patches to the core reference data, and some kind of merge facility (rather than the current delete-then-write functionality).

Sparxians: What say ye to this?

David
No, you can't have it!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Creating the MOF metamodel package
« Reply #3 on: September 26, 2007, 02:14:03 pm »
I have corrected this procedure, and will track down as many of the others as I can find.

The safest thing is always to type in the stereotype name. If the Help says "use this stereotype" then type the name into the stereotype field. There are standard stereotypes that always appear in the UML Types dialog and drop-down lists, and 'background' stereotypes that appear in the lists once you have typed the name into a Stereotypes field somewhere - you don't have to explicitly enter them on the UML Types dialog.

A third category is the stereotypes that you create yourselves, for which you do have to use the UML Types dialog.

Edit: And the fourth category, of course, is stereotypes imported with an MDG technology such as BPMN, about which there is some discussion elsewhere...

The changes will wash through to the web site Help and installer Help at the next build release.

Roy
« Last Edit: September 26, 2007, 02:56:55 pm by RoyC »
Best Regards, Roy