Author Topic: How to view metamodels for stereotypes in EA?  (Read 1705 times)

jplusip

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
How to view metamodels for stereotypes in EA?
« on: July 10, 2014, 07:24:03 am »
Hi all,

 I'm a new user to EA (long time fan of UML (and more recently SysML) though).

I'm playing around with EA and I noticed that under the steretypes drop-box there is a considerable amount of stereotypes, but I have no idea what the point of these are. Is there a way I can access the profile(s) for EA and have a look at the metamodels so I can understand the different stereoptypes?

qwerty

  • EA Guru
  • *****
  • Posts: 11117
  • Karma: +262/-246
  • I'm no guru at all
    • View Profile
Re: How to view metamodels for stereotypes in EA?
« Reply #1 on: July 10, 2014, 08:05:58 am »
No, that's not possible. You should start by turning of most of the MDGs and just leave the basic UML profiles (and eventually SysML) turned on. That will reduce confusion.

q.

jplusip

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
Re: How to view metamodels for stereotypes in EA?
« Reply #2 on: July 10, 2014, 08:10:42 am »
Oh, OK. Thanks for the advice. Is there anywhere I can read about the stereotypes and what they're supposed to do?

I don't intend to use them, ideally I just want to go with pure SysML, but I am curious as to their purposes (specifically, in a model I saw recently someone was using the capability stereotype instead of requirements (for requirements), so I was partly hoping to figure out why they would do that).
« Last Edit: July 10, 2014, 08:13:21 am by jplusip »

qwerty

  • EA Guru
  • *****
  • Posts: 11117
  • Karma: +262/-246
  • I'm no guru at all
    • View Profile
Re: How to view metamodels for stereotypes in EA?
« Reply #3 on: July 10, 2014, 06:20:09 pm »
Stereotype are a mere method of grouping elements of the same type. It's like assigning an attribute or a tagged value. But it is more prominent.

In MDGs a stereotype is used to "subclass" certain elements so they get a special meaning in the context of the profile. There are a couple of good reads related to SysML out there which explain the use of the different stereotypes.

q.

jplusip

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
Re: How to view metamodels for stereotypes in EA?
« Reply #4 on: July 10, 2014, 11:58:07 pm »
Ah, when I mentioned reading about the stereotypes I meant the specific stereotypes in the EA tool. I was just curious as to of what their specific stereotypes meant as I was not familiar with them.  :)

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1263
  • Karma: +14/-4
  • Read The Help!
    • View Profile
Re: How to view metamodels for stereotypes in EA?
« Reply #5 on: July 11, 2014, 10:40:08 am »
In EA there are - broadly speaking - two types of stereotype. In very simple terms, one type qualifies a 'standard' UML element type to create a new type of element that represents something from a Technology specification - SysML, TOGAF, ODM, ArcGIS and so on, or for a Technology that has been developed 'in-house'. It was created by the Technology developer. So, don't worry about what the stereotype does, look at what the element or connector is and what the relevant spec defines it as. This stereotype is already in the element when you create it from the toolbox.

The other type of stereotype is simply a label that might or might not also adjust the appearance of the element with an image file, shapescript or just color changes. You apply it to an existing element, and it does not change the element type. Anyone can create them in the UML Types dialog, for any reason. If you have a disciplined team and good guidelines, you can read the stereotype notes in that dialog and see why the stereotype was necessary. At the other extreme, there can be a huge number of stereotypes that have no real purpose other than 'to see what it does', and there might well be several stereotypes with the same name. Don't waste time trying to understand these ones, they don't do more than alter the appearance of the element, and you can easily see that effect.

The actual example you gave illustrates a problem with changing the existing stereotype in an element. Who knows why someone wanted to change the defining stereotype of a SysML Requirement? If the Capability stereotype is just applying different colors, that's OK, the nature and purpose of the element are not changed. However, Capability is a stereotype that defines the Capability Class element type in TOGAF, so if you also have TOGAF enabled, the system applies the TOGAF Capability Class characteristics (as far as it is able) to the SysML Requirement resulting in a strange hybrid.

Basically, if the element is doing what you need it to do, don't worry about the stereotype. If it isn't, see if there is another element type that serves the purpose, or discuss with a Technology Developer your need for that object. If the element stereotype looks 'odd', go and talk to the element author or owner; they are the best person to explain what has happened and why.
« Last Edit: July 11, 2014, 10:44:11 am by RoyC »
Best Regards, Roy

jplusip

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
Re: How to view metamodels for stereotypes in EA?
« Reply #6 on: July 12, 2014, 02:13:13 am »
Thanks for the explanation RoyC! That helps a lot!