Author Topic: Yet another Metamodel topic  (Read 3721 times)

Ronaldo Juliatto

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Yet another Metamodel topic
« on: February 23, 2008, 11:46:27 am »
Hi, people

I am trying to extend UML in order to make EA able to represent an ad hoc methodology. Initially I thought of using a profile to do that, but as far as I know, Profiles are used to restrict UML semantics, which is not what I wanted. I wanted to represent elements with different semantics from that of UML.

So, I tried to create a Metamodel. I followed the basic steps in the help files and threads in this forum and created a Metamodel, at least with part of the metaclasses I needed.

Well, so I wanted to test this metamodel. However, I am really unsure about how to do that. Should I create a Profile based on the Metamodel, such that I could create stereotypes with specific shapes? If so, how do I make my Profile Metaclasses understand that they are extending my metamodel's classes? I have some guesses (please don't laugh...):

1. I read in some previous posts that the Metamodel should be exported as MOF and imported as a Profile (in the Resources tab). Is this the correct procedure? This seems strange to me, as the formats are rather different and, conceptually, these are different things.
2. Technically, the Metamodel could be exported as a Profile from the Project Browser and then imported as a profile in the Resources Tab. However, once my Metamodel does not carry stereotypes, this is useless, as the classes themselves are still not available for the metaclasses of the final profile.
3. I thought that it could be possible to drag and drop into the Profile's class diagram a link (or should it be an instance?) of the class in the metamodel and force it to have the <<metaclass>> stereotype. Does it make sense?

Maybe these doubts are very basic, but I am really stuck on them. I think that I am missing something and I feel that a little help could make this job go ahead quickly.

Any help would be very appreciated.

Thanks in advance

Ronaldo Juliatto