Book a Demo

Author Topic: Derived attribute missing for PROPETY stereotype  (Read 2827 times)

Emilio

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Derived attribute missing for PROPETY stereotype
« on: May 15, 2009, 06:38:29 pm »
I tried to submit this via the online bug report but even though we are registered users (forum and download link of the version we bought) I get access denied so here is the report...

We use EA 7.1 and we are having a problem defining DERIVED PROPERTIES.

Usually one can define a class member, then mark the "Property" checkbox which brings up a dialog where one can define the property accessors (get/set) for the member variable. In that dialog one is also able to specify whether the attribute is "derived" in other words computed out of readily available member variables. This is basically shadowning which is not quite a good idea. This approach automataically defines an OPERATION with stereotype PROPERTY.

I wanted to use it the proper way so as not to confuse the developers. In other words in the class I defined an OPERATION and stereotyped it as PROPERTY. Then since this property does not have an associated member variable because it is DERIVED from another member variable (which already has a property), I wanted to set the DERIVED attribute. The problem is, when you define the property this way the "derived" checkbox does not appear in the dialog!