Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: sargasso on May 24, 2004, 05:02:12 pm

Title: Set Run State improvement
Post by: sargasso on May 24, 2004, 05:02:12 pm
May I suggest that the Set Run State function be extended to include modelling the values returned by Property methods.

Consider an object with a derived property.   That is, the value returned is dependent on some processing of the objects attributes.  For example, "isInCredit" is a boolean value calculated, say, from the attributes "account_balance", "outstanding_credit_notes", "forward_orders" etc.

At the moment all these attribute values have to be set and shown on the diagram and there is no way to simply indicate the value returned by the property.

One could add a "virtual" attribute to the class for the purposes of the model, but the purist in me says there has to be a better way.

Any support?

Bruce