Automatically change stereotype when filling a specific attr

Discussions about Domain Specific Language customizations

Moderator: Moderators

Automatically change stereotype when filling a specific attr

Postby ida-electra.dahl@samares-engineering.com » Fri Sep 16, 2022 8:56 am

Hello,

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.
ida-electra.dahl@samares-engineering.com
Forum Newbie
Forum Newbie
 
Posts: 13
Posts Rating:0
Joined: Fri Apr 05, 2019 3:14 am

Return to DSL

Who is online

Users browsing this forum: No registered users and 0 guests