Author Topic: Metamodel packages  (Read 6002 times)

bluemanifold

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Metamodel packages
« on: October 30, 2007, 06:12:58 am »
Hi.  I'm trying to create a metamodel using EA 7.0.817.  When I open the package properties, the <<metamodel>> stereotype is missing from the list of available stereotypes.  A <<model>> stereotype is present but is this the same thing?  Any help would be appreciated.  Cheers.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Metamodel packages
« Reply #1 on: October 30, 2007, 06:29:29 am »
If you mean that you are trying to build a metamodel as part of a profile, then you are looking at the wrong stereotype.

Create a new class diagram. Now use the More Tools button at the top of the toolbox to open the Profile toolbox - or shift-right-click on the diagram and use the context menu - and add a Profile element (it looks like a package) to your diagram. The element should be a package with the «profile» stereotype already set up, and it should be set as a composite element. If you double-click it you will open a profile diagram 'within' the new profile package.

HTH, David
No, you can't have it!

bluemanifold

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Metamodel packages
« Reply #2 on: October 30, 2007, 07:07:12 am »
I guess I could do that, David.  I was actually reading the help system about MOF diagrams - I want to create my metamodel as a MOF diagram and eventually export the package.  That way, the package could be used by a profile model as well as within a standard class model (where it acts as a 'template').  The help system says that a <<metamodel>> stereotype is available for tagging the MOF package and yet when I go through the procedure, that particular stereotype is missing.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Metamodel packages
« Reply #3 on: October 31, 2007, 04:38:42 pm »
I'm not sure if the (small) change to the procedure has washed through to the Help you are using, but you just type the value metamodel in the Stereotype field - it's one of those stereotypes you create by using it once.

HTH

Roy
Best Regards, Roy

bluemanifold

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Metamodel packages
« Reply #4 on: November 01, 2007, 12:37:06 am »
Cheers, Roy.  That worked - I also found a similar topic on one of the other forums.  :)