Page 1 of 1

Automatically change stereotype when filling a specific attr

PostPosted: Fri Sep 16, 2022 8:56 am

I'm working on a profile and have a question. In the standard SysML profile, the basic Requirement does not have the attributes "source", "verify method" or "risk", however these attributes are available in the specification window, and the moment they are filled the stereotype changes from "Requirement" to "Extended Requirement", a stereotype that generalizes "Requirement".

I was wondering, how do I proceed if I want a similar behavior with my custom stereotypes?
I have one stereotype that generalizes another, adding an attribute, and I would like the stereotype to change if and when the attribute is filled.