Book a Demo

Author Topic: Extending SysML Stereotype in Profile  (Read 12790 times)

Michael Schneider

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Extending SysML Stereotype in Profile
« on: October 14, 2010, 02:40:39 am »
Hi, I would like to create an extension of a SysML stereotype in a profile. I tried to use generalization to do so (as specified in the SysML specification). I used SysML1.1::block as the stereotype I want to specialize. However, that doesn't work. What do I need to do, to achieve this? I know, I could extend the Class metaclass and then later apply my new stereotype to a block, but a) it would have both stereotypes then and b) this is cumbersome. Any ideas?

Thanks,
Michael

Michael Schneider

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Extending SysML Stereotype in Profile
« Reply #1 on: December 02, 2010, 12:05:29 am »
Still no solution for this one? Any idea anybody?

Thx,
Michael

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Extending SysML Stereotype in Profile
« Reply #2 on: December 02, 2010, 01:11:53 am »
Michael,

I don't know much about profiles and stuff, but IIRC you cannot extend existing profiles if you don't have the EA (meta) model.

Geert

Michael Schneider

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Extending SysML Stereotype in Profile
« Reply #3 on: December 02, 2010, 01:31:03 am »
Hi Geert,

well, in theory I should be able to formally import the SysML profile and then use generalization on the SysML stereotypes. That's at least what the SysML specification states. However I have no idea how to do that in EA.

Regards,
Michael

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Extending SysML Stereotype in Profile
« Reply #4 on: December 02, 2010, 01:37:04 am »
That's the problem, EA doesn't really like meta-models from omg, and I don't think its "profiles" are really standard.

I once was able to (sort of) import the UML meta-model into EA by first importing the meta-xmi file into StarUML first and then exporting back to xmi and importing that into EA. (resulting model is available on the community site)

You might be able to do something similar for SysML, but if/how to make this model into a profile... I have no idea.

Geert

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Extending SysML Stereotype in Profile
« Reply #5 on: December 13, 2010, 10:21:40 am »
Quote
I know, I could extend the Class metaclass and then later apply my new stereotype to a block, but a) it would have both stereotypes then and b) this is cumbersome.
I'm afraid this is what you will need to do. And yes it will, correctly, have both stereotypes.
The Sparx Team
[email protected]