Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: bluemanifold on October 30, 2007, 06:12:58 am

Title: Metamodel packages
Post by: bluemanifold 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.
Title: Re: Metamodel packages
Post by: «Midnight» 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
Title: Re: Metamodel packages
Post by: bluemanifold 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.
Title: Re: Metamodel packages
Post by: RoyC 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
Title: Re: Metamodel packages
Post by: bluemanifold on November 01, 2007, 12:37:06 am
Cheers, Roy.  That worked - I also found a similar topic on one of the other forums.  :)