Book a Demo

Author Topic: Setting Requirement type to an implicit Status??  (Read 4702 times)

Martinigue

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
  • BlackBerry is a lifestyle
    • View Profile
Setting Requirement type to an implicit Status??
« on: January 17, 2011, 09:26:25 pm »
Hi all,

in a UML Profile I want to define "Approved Requirement", "Mandatory Requirement", .... extending fom the Requirement metaclass and I want each to have a respective value of Status; how do I achieve that? ( adding and setting a Status attribute to either Metaclass or Stereotype does not work, though ...)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Setting Requirement type to an implicit Status
« Reply #1 on: January 19, 2011, 07:44:37 am »
I'm afraid this is not possible via "simple" MDG (I might be wrong though). However, it is possible to catch the EA_OnPostNewElement event and set the attribute.

q.

Martinigue

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
  • BlackBerry is a lifestyle
    • View Profile
Re: Setting Requirement type to an implicit Status
« Reply #2 on: January 19, 2011, 07:08:29 pm »
Hmm, there should be some way ..it is nothing more than a specialzed type.. Each Requirement has the default Status 'Proposed'; now, if I am able to find out where this gets set, I might get some clue ...